We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e349186 commit 9a49129Copy full SHA for 9a49129
1 file changed
js/utils/tap.js
@@ -135,10 +135,10 @@
135
return false;
136
}
137
138
- return (c.x > startCoordinates.x + 2 ||
139
- c.x < startCoordinates.x - 2 ||
140
- c.y > startCoordinates.y + 2 ||
141
- 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);
142
143
144
function recordCoordinates(event) {
0 commit comments