From da778f27f13e038fed878ae3349c84d8c2079953 Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Fri, 15 Jan 2016 11:53:21 -0500 Subject: [PATCH] Bug 1229841 - Update fast-fling APZ physics prefs on Fennec as per UX feedback. r=snorp --HG-- extra : commitid : 5WweX6RVSr2 --- mobile/android/app/mobile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js index 1bc8c75e20b6..eed266e617c6 100644 --- a/mobile/android/app/mobile.js +++ b/mobile/android/app/mobile.js @@ -576,6 +576,7 @@ pref("layers.async-pan-zoom.enabled", true); pref("apz.allow_immediate_handoff", false); // APZ physics settings, copied from B2G pref("apz.axis_lock.mode", 2); // Use "sticky" axis locking +// APZ physics settings reviewed by UX pref("apz.fling_curve_function_x1", "0.41"); pref("apz.fling_curve_function_y1", "0.0"); pref("apz.fling_curve_function_x2", "0.80"); @@ -584,6 +585,7 @@ pref("apz.fling_curve_threshold_inches_per_ms", "0.01"); pref("apz.fling_friction", "0.004"); pref("apz.fling_stopped_threshold", "0.1"); pref("apz.max_velocity_inches_per_ms", "0.07"); +pref("apz.fling_accel_interval_ms", 750); #endif pref("layers.progressive-paint", true);