mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 10:27:03 +00:00
Bug 944938 - Add default values for some AsyncPanZoom prefs to all.js. r=kats
This commit is contained in:
parent
c7986d8a6f
commit
7180a1e4d1
@ -359,6 +359,9 @@ pref("media.video_stats.enabled", true);
|
||||
// Whether to enable the audio writing APIs on the audio element
|
||||
pref("media.audio_data.enabled", false);
|
||||
|
||||
// Whether to use async panning and zooming
|
||||
pref("layers.async-pan-zoom.enabled", false);
|
||||
|
||||
// Whether to lock touch scrolling to one axis at a time
|
||||
// 0 = FREE (No locking at all)
|
||||
// 1 = STANDARD (Once locked, remain locked until scrolling ends)
|
||||
@ -368,8 +371,16 @@ pref("apz.axis_lock_mode", 0);
|
||||
// Whether to print the APZC tree for debugging
|
||||
pref("apz.printtree", false);
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
// Layerize scrollable subframes to allow async panning
|
||||
pref("apz.subframe.enabled", true);
|
||||
pref("apz.fling_repaint_interval", 16);
|
||||
pref("apz.pan_repaint_interval", 16);
|
||||
pref("apz.apz.x_skate_size_multiplier", "2.5");
|
||||
pref("apz.apz.y_skate_size_multiplier", "3.5");
|
||||
#else
|
||||
pref("apz.subframe.enabled", false);
|
||||
#endif
|
||||
|
||||
// APZ testing (bug 961289)
|
||||
pref("apz.test.logging_enabled", false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user