readermenu(fix): override pan gesture from scrolling
This commit is contained in:
1 parent
1850ebca0d
commit
55ec64a859
3 files changed
+12
-2
No files matched your search
@@ -93,6 +93,16 @@ function ReaderMenu:onReaderReady()
|
||||
overrides = { "rolling_swipe", "paging_swipe", },
|
||||
handler = function(ges) return self:onSwipeShowMenu(ges) end,
|
||||
},
|
||||
{
|
||||
id = "readermenu_pan",
|
||||
ges = "pan",
|
||||
screen_zone = {
|
||||
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 = { "rolling_pan", "paging_pan", },
|
||||
handler = function(ges) return self:onSwipeShowMenu(ges) end,
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user