From 9a49129aa090caf221f0c0b2a77f86b4a69ab652 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Sun, 30 Mar 2014 23:00:35 -0500 Subject: [PATCH] fix(tap): Increate isScrolledSinceStart from 2px radius to 15px, #970 --- js/utils/tap.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/utils/tap.js b/js/utils/tap.js index 09e4958198a..66dee8e2d4d 100644 --- a/js/utils/tap.js +++ b/js/utils/tap.js @@ -135,10 +135,10 @@ return false; } - return (c.x > startCoordinates.x + 2 || - c.x < startCoordinates.x - 2 || - c.y > startCoordinates.y + 2 || - c.y < startCoordinates.y - 2); + return (c.x > startCoordinates.x + HIT_RADIUS || + c.x < startCoordinates.x - HIT_RADIUS || + c.y > startCoordinates.y + HIT_RADIUS || + c.y < startCoordinates.y - HIT_RADIUS); } function recordCoordinates(event) {