#49 : Validate tap event

This commit is contained in:
Vadim
2021-08-06 23:12:13 +03:00
parent b66ab30a0d
commit 094ed0894e
3 changed files with 38 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
export const TAP_DURATION_MS = 110
export const TAP_MOVEMENT_PX = 9 // max movement during the tap, keep it small
export const SWIPE_MIN_DURATION_MS = 111
export const SWIPE_MIN_DISTANCE_PX = 20