mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 944938 - Add default values for some AsyncPanZoom prefs to all.js. r=kats
This commit is contained in:
parent
7aea5fc3e9
commit
07b16a1cf9
@ -359,6 +359,9 @@ pref("media.video_stats.enabled", true);
|
|||||||
// Whether to enable the audio writing APIs on the audio element
|
// Whether to enable the audio writing APIs on the audio element
|
||||||
pref("media.audio_data.enabled", false);
|
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
|
// Whether to lock touch scrolling to one axis at a time
|
||||||
// 0 = FREE (No locking at all)
|
// 0 = FREE (No locking at all)
|
||||||
// 1 = STANDARD (Once locked, remain locked until scrolling ends)
|
// 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
|
// Whether to print the APZC tree for debugging
|
||||||
pref("apz.printtree", false);
|
pref("apz.printtree", false);
|
||||||
|
|
||||||
|
#ifdef XP_MACOSX
|
||||||
// Layerize scrollable subframes to allow async panning
|
// 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);
|
pref("apz.subframe.enabled", false);
|
||||||
|
#endif
|
||||||
|
|
||||||
// APZ testing (bug 961289)
|
// APZ testing (bug 961289)
|
||||||
pref("apz.test.logging_enabled", false);
|
pref("apz.test.logging_enabled", false);
|
||||||
|
Loading…
Reference in New Issue
Block a user