Increase the tap threshold slightly to reduce incidences of taps being detected as swipes

This commit is contained in:
Kovid Goyal 2017-05-28 11:23:47 +05:30
parent 5e7c2fbde5
commit c4c12001a5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -7,7 +7,7 @@ from read_book.globals import get_boss
from read_book.viewport import scroll_viewport
HOLD_THRESHOLD = 750 # milliseconds
TAP_THRESHOLD = 5 # pixels
TAP_THRESHOLD = 7 # pixels
TAP_LINK_THRESHOLD = 5 # pixels
PINCH_THRESHOLD = 10 # pixels