Bug 984794 - Switch to sticky axis locking on B2G. r=Cwiiis
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 27 Mar 2014 15:06:14 -0400
changeset 175676 2fbe01ee395571afd8fa5080c1e68fefa130875f
parent 175675 0216e66ff63b661b922b3fee734b45f6f887eb81
child 175677 bce5074f6799bdeef606a2533bc2fba5ec1b7cda
push id41588
push userryanvm@gmail.com
push dateThu, 27 Mar 2014 19:05:27 +0000
treeherdermozilla-inbound@923bcaccf783 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCwiiis
bugs984794
milestone31.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 984794 - Switch to sticky axis locking on B2G. r=Cwiiis
b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -893,16 +893,18 @@ pref("apz.max_velocity_inches_per_ms", "
 
 // Tweak default displayport values to reduce the risk of running out of
 // memory when zooming in
 pref("apz.x_skate_size_multiplier", "1.25");
 pref("apz.y_skate_size_multiplier", "1.5");
 pref("apz.x_stationary_size_multiplier", "1.5");
 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);
 
 // 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 })
 //
 // Using a software canvas can save memory when JS calls getImageData()