Bug 1066888 - Tweak prefs for overscroll bounce effect on B2G. r=kats
authorBotond Ballo <botond@mozilla.com>
Fri, 14 Nov 2014 18:01:48 -0500
changeset 215883 25dfe9824b6f18dffaee00e51514a1cfe7a8c488
parent 215882 e75e7054ecc40c2cf5498de3d1187740889338dc
child 215884 d1903414198f3255cfbaa579981384afb5496529
push id27829
push usergszorc@mozilla.com
push dateSat, 15 Nov 2014 22:34:49 +0000
treeherdermozilla-central@19f75e1211e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1066888
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1066888 - Tweak prefs for overscroll bounce effect on B2G. r=kats
b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -1002,19 +1002,19 @@ pref("apz.x_stationary_size_multiplier",
 pref("apz.y_stationary_size_multiplier", "1.8");
 pref("apz.enlarge_displayport_when_clipped", true);
 // Use "sticky" axis locking
 pref("apz.axis_lock.mode", 2);
 pref("apz.subframe.enabled", true);
 
 // Overscroll-related settings
 pref("apz.overscroll.enabled", true);
-pref("apz.overscroll.stretch_factor", "0.5");
-pref("apz.overscroll.spring_stiffness", "0.001");
-pref("apz.overscroll.spring_friction", "0.015");
+pref("apz.overscroll.stretch_factor", "0.15");
+pref("apz.overscroll.spring_stiffness", "0.002");
+pref("apz.overscroll.spring_friction", "0.02");
 pref("apz.overscroll.stop_distance_threshold", "5.0");
 pref("apz.overscroll.stop_velocity_threshold", "0.01");
 
 // This preference allows FirefoxOS apps (and content, I think) to force
 // the use of software (instead of hardware accelerated) 2D canvases by
 // creating a context like this:
 //
 //   canvas.getContext('2d', { willReadFrequently: true })