mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Double tap: Update default tap zones (#7711)
Make 'em match backward & forward. Now that we have working overrides and the gesture manager, trying to fit them in a weird superset of the top corner tapzones in a vain attempt to avoid bad interactions doesn't make much sense anymore, and just makes the Gesture Manager UI confusing. Also make sure the corner zones override the L/R ones for double taps, like it's the case with other gestures. Fix #7710
This commit is contained in:
@@ -88,8 +88,8 @@ DTAP_ZONE_TOP_LEFT = {x = 0, y = 0, w = 1/8, h = 1/8}
|
||||
DTAP_ZONE_TOP_RIGHT = {x = 7/8, y = 0, w = 1/8, h = 1/8}
|
||||
DTAP_ZONE_BOTTOM_LEFT = {x = 0, y = 7/8, w = 1/8, h = 1/8}
|
||||
DTAP_ZONE_BOTTOM_RIGHT = {x = 7/8, y = 7/8, w = 1/8, h = 1/8}
|
||||
DDOUBLE_TAP_ZONE_NEXT_CHAPTER = {x = 6/8, y = 0, w = 2/8, h = 2/8}
|
||||
DDOUBLE_TAP_ZONE_PREV_CHAPTER = {x = 0, y = 0, w = 2/8, h = 2/8}
|
||||
DDOUBLE_TAP_ZONE_NEXT_CHAPTER = {x = 1/4, y = 0, w = 3/4, h = 1}
|
||||
DDOUBLE_TAP_ZONE_PREV_CHAPTER = {x = 0, y = 0, w = 1/4, h = 1}
|
||||
|
||||
-- behaviour of swipes
|
||||
DCHANGE_WEST_SWIPE_TO_EAST = false
|
||||
|
||||
Reference in New Issue
Block a user