mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix: override readerhighlight hold in readerfooter
Also fix touch zone dependency graph generation code. ReaderHighlight has now been migrated to use touch zone Inputcontainer's touch event handling logic changed to only stop propagation when handler returns `true`. Previously, it stops propagation when a handler is found. This is needed to support both readerhighlight_tap and tap_forward touch zones.
This commit is contained in:
@@ -89,6 +89,7 @@ function ReaderMenu:onReaderReady()
|
||||
ratio_x = DTAP_ZONE_MENU.x, ratio_y = DTAP_ZONE_MENU.y,
|
||||
ratio_w = DTAP_ZONE_MENU.w, ratio_h = DTAP_ZONE_MENU.h,
|
||||
},
|
||||
overrides = { "tap_forward", "tap_backward", },
|
||||
handler = function() return self:onTapShowMenu() end,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user