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:
1 parent
0b9c9d6ddb
commit
9b7aba3fba
8 files changed
+393
-113
No files matched your search
@@ -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