QuoJS
QuoJS copied to clipboard
DoubleTap is way too picky
seems like the max time between two taps to be interpreted as a doubleTap is hard coded to 250ms. is that right? Well, testing on iOS that seems not to be enough. it's less then 10% success...
:+1: The ipad web app I'm working on detects dbltaps as taps so methods tied to the event aren't getting fired.
+1 - i was convinced my code was broken until i mysteriously tapped fast enough.
If you want to increase the duration between taps you also need to adjust the delay (currently 100) on: TOUCH_TIMEOUT = setTimeout((function() { _trigger("singleTap"); return _cleanGesture(); }), 100);
And also increase 250 in:
if (fingers === 1) { if (fingers >= 1) { alert(delta); GESTURE.gap = delta > 0 && delta <= 250; }
300 on both of these worked well for me :)
Thanks guys :)