mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Increase the tap threshold slightly to reduce incidences of taps being detected as swipes
This commit is contained in:
parent
5e7c2fbde5
commit
c4c12001a5
@ -7,7 +7,7 @@ from read_book.globals import get_boss
|
|||||||
from read_book.viewport import scroll_viewport
|
from read_book.viewport import scroll_viewport
|
||||||
|
|
||||||
HOLD_THRESHOLD = 750 # milliseconds
|
HOLD_THRESHOLD = 750 # milliseconds
|
||||||
TAP_THRESHOLD = 5 # pixels
|
TAP_THRESHOLD = 7 # pixels
|
||||||
TAP_LINK_THRESHOLD = 5 # pixels
|
TAP_LINK_THRESHOLD = 5 # pixels
|
||||||
PINCH_THRESHOLD = 10 # pixels
|
PINCH_THRESHOLD = 10 # pixels
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user