From 382ac528e8222f6c0870bb578111df6b31ca2661 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 4 Sep 2020 07:25:38 +0530 Subject: [PATCH] Viewer: Increase the threshold for detecting pinches --- src/pyj/read_book/touch.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/touch.pyj b/src/pyj/read_book/touch.pyj index 45cda57035..b10abfcdf9 100644 --- a/src/pyj/read_book/touch.pyj +++ b/src/pyj/read_book/touch.pyj @@ -9,7 +9,7 @@ HOLD_THRESHOLD = 750 # milliseconds TAP_THRESHOLD = 8 # pixels SWIPE_THRESHOLD = 64 # pixels TAP_LINK_THRESHOLD = 5 # pixels -PINCH_THRESHOLD = 10 # pixels +PINCH_THRESHOLD = 20 # pixels LONG_TAP_THRESHOLD = 500 # milliseconds gesture_id = 0