From a7e201e8574fe7de2adc07507ce070f26472922a Mon Sep 17 00:00:00 2001 From: Botond Ballo Date: Mon, 8 Sep 2014 16:29:28 -0400 Subject: [PATCH] Bug 1064527 - Tweak some preferences for the overscroll stretch effect. r=kats. DONTBUILD for changes to physics constants --HG-- extra : amend_source : 31d7555ca1b8d452509b06c0f731b3e1426de1ec --- b2g/app/b2g.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js index 3809e2a2d4f9..f33f0c648d4d 100644 --- a/b2g/app/b2g.js +++ b/b2g/app/b2g.js @@ -976,12 +976,12 @@ pref("apz.subframe.enabled", true); // Overscroll-related settings pref("apz.overscroll.enabled", true); -pref("apz.overscroll.fling_friction", "0.02"); +pref("apz.overscroll.fling_friction", "0.05"); pref("apz.overscroll.fling_stopped_threshold", "0.4"); pref("apz.overscroll.stretch_factor", "0.5"); -pref("apz.overscroll.snap_back.spring_stiffness", "0.6"); +pref("apz.overscroll.snap_back.spring_stiffness", "0.05"); pref("apz.overscroll.snap_back.spring_friction", "0.1"); -pref("apz.overscroll.snap_back.mass", "1200"); +pref("apz.overscroll.snap_back.mass", "100"); // This preference allows FirefoxOS apps (and content, I think) to force // the use of software (instead of hardware accelerated) 2D canvases by