зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1231504 - Copy physics prefs from b2g.js to Fennec. r=botond
--HG-- extra : commitid : GMqlENuhtjI
This commit is contained in:
Родитель
596d384e24
Коммит
5fac22ca2b
|
@ -556,11 +556,20 @@ pref("ui.dragThresholdY", 25);
|
|||
pref("layers.acceleration.disabled", false);
|
||||
pref("layers.offmainthreadcomposition.enabled", true);
|
||||
pref("layers.async-video.enabled", true);
|
||||
|
||||
#ifdef MOZ_ANDROID_APZ
|
||||
pref("layers.async-pan-zoom.enabled", true);
|
||||
pref("apz.axis_lock.mode", 1);
|
||||
pref("apz.fling_stop_on_tap_threshold", "0.08");
|
||||
// APZ physics settings, copied from B2G
|
||||
pref("apz.axis_lock.mode", 2); // Use "sticky" axis locking
|
||||
pref("apz.fling_curve_function_x1", "0.41");
|
||||
pref("apz.fling_curve_function_y1", "0.0");
|
||||
pref("apz.fling_curve_function_x2", "0.80");
|
||||
pref("apz.fling_curve_function_y2", "1.0");
|
||||
pref("apz.fling_curve_threshold_inches_per_ms", "0.01");
|
||||
pref("apz.fling_friction", "0.0019");
|
||||
pref("apz.max_velocity_inches_per_ms", "0.07");
|
||||
#endif
|
||||
|
||||
pref("layers.progressive-paint", true);
|
||||
pref("layers.low-precision-buffer", true);
|
||||
pref("layers.low-precision-resolution", "0.25");
|
||||
|
|
Загрузка…
Ссылка в новой задаче