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:
Qingping Hou
2017-01-23 06:54:14 -08:00
parent 0b9c9d6ddb
commit 9b7aba3fba
8 changed files with 393 additions and 113 deletions

View File

@@ -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,
},
})