#49 : Update swipe event handling

This commit is contained in:
Vadim
2021-07-24 22:47:13 +03:00
parent e837e09789
commit b3aebdf79a
4 changed files with 23 additions and 7 deletions

3
src/units.js Normal file
View File

@@ -0,0 +1,3 @@
export const TAP_DURATION_MS = 200
export const SWIPE_MIN_DURATION_MS = 250
export const SWIPE_MIN_DISTANCE_PX = 20