Viewer: Increase the threshold for detecting pinches

This commit is contained in:
Kovid Goyal 2020-09-04 07:25:38 +05:30
parent 1247a0d512
commit 382ac528e8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -9,7 +9,7 @@ HOLD_THRESHOLD = 750 # milliseconds
TAP_THRESHOLD = 8 # pixels TAP_THRESHOLD = 8 # pixels
SWIPE_THRESHOLD = 64 # pixels SWIPE_THRESHOLD = 64 # pixels
TAP_LINK_THRESHOLD = 5 # pixels TAP_LINK_THRESHOLD = 5 # pixels
PINCH_THRESHOLD = 10 # pixels PINCH_THRESHOLD = 20 # pixels
LONG_TAP_THRESHOLD = 500 # milliseconds LONG_TAP_THRESHOLD = 500 # milliseconds
gesture_id = 0 gesture_id = 0