Bug 957188 - Increase touch start tolerance to more easily detect taps. r=botond, a=1.3+
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 09 Jan 2014 15:45:41 -0500
changeset 169270 8ebbca7b58557dacdc4a9fd6b29c580ef838ca02
parent 169269 24e822034332748994fb9673012dd4d2f95519e0
child 169271 51dd19c057f72f9f27ae1a0a417c1d326594309f
push id4961
push userryanvm@gmail.com
push dateThu, 16 Jan 2014 14:21:24 +0000
treeherdermozilla-aurora@51dd19c057f7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbotond, 1.3
bugs957188
milestone28.0a2
Bug 957188 - Increase touch start tolerance to more easily detect taps. r=botond, a=1.3+
gfx/layers/ipc/AsyncPanZoomController.cpp
--- a/gfx/layers/ipc/AsyncPanZoomController.cpp
+++ b/gfx/layers/ipc/AsyncPanZoomController.cpp
@@ -123,17 +123,17 @@ namespace mozilla {
 namespace layers {
 
 /**
  * Constant describing the tolerance in distance we use, multiplied by the
  * device DPI, before we start panning the screen. This is to prevent us from
  * accidentally processing taps as touch moves, and from very short/accidental
  * touches moving the screen.
  */
-static float gTouchStartTolerance = 1.0f/16.0f;
+static float gTouchStartTolerance = 1.0f/2.0f;
 
 /**
  * Angle from axis within which we stay axis-locked
  */
 static const double AXIS_LOCK_ANGLE = M_PI / 6.0; // 30 degrees
 
 /**
  * The distance in inches the user must pan before axis lock can be broken