Skip to content

Commit

Permalink
fix(tap): Increate isScrolledSinceStart from 2px radius to 15px, #970
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Mar 31, 2014
1 parent e349186 commit 9a49129
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/utils/tap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9a49129

Please sign in to comment.