mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
[RFC] Make default UI tapzones more generous (#6918)
* Top menu & bottom menu tapzones are now full-width, thanks to the now sane override system. * A separate, extra tapzone was also created for each of them to provide a taller, but narrower tapzone extension (one that doesn't clash with the prev/next tapzones). * The footer tapzone was made much taller.
This commit is contained in:
@@ -72,9 +72,11 @@ FOLLOW_LINK_TIMEOUT = 0.5
|
||||
-- y: y coordinate of top left corner in proportion to screen height
|
||||
-- w: tap zone width in proportion to screen width
|
||||
-- h: tap zone height in proportion to screen height
|
||||
DTAP_ZONE_MENU = {x = 1/8, y = 0, w = 3/4, h = 1/8}
|
||||
DTAP_ZONE_CONFIG = {x = 1/8, y = 7/8, w = 3/4, h = 1/8}
|
||||
DTAP_ZONE_MINIBAR = {x = 0, y = 31/32, w = 1, h = 1/32}
|
||||
DTAP_ZONE_MENU = {x = 0, y = 0, w = 1, h = 1/8}
|
||||
DTAP_ZONE_MENU_EXT = {x = 1/4, y = 0, w = 2/4, h = 1/5} -- taller, narrower extension
|
||||
DTAP_ZONE_CONFIG = {x = 0, y = 7/8, w = 1, h = 1/8}
|
||||
DTAP_ZONE_CONFIG_EXT = {x = 1/4, y = 2/3, w = 2/4, h = 1/5} -- taller, narrower extension
|
||||
DTAP_ZONE_MINIBAR = {x = 0, y = 12/13, w = 1, h = 1/13}
|
||||
DTAP_ZONE_FORWARD = {x = 1/4, y = 0, w = 3/4, h = 1}
|
||||
DTAP_ZONE_BACKWARD = {x = 0, y = 0, w = 1/4, h = 1}
|
||||
-- DTAP_ZONE_BOOKMARK = {x = 7/8, y = 0, w = 1/8, h = 1/8} -- deprecated
|
||||
|
||||
Reference in New Issue
Block a user