Fix tap for top menu occasionally not working

It was missing some ordering hints to have it always
precede taps to change page.
(Somehow noticed only when we reached > 32 gestures
registered, which may have introduced some shuffling,
while previously the addition order was somehow
preserved...)
This commit is contained in:
poire-z
2019-03-30 19:29:37 +01:00
parent 433b89638a
commit 44529dbbc9
2 changed files with 3 additions and 2 deletions

View File

@@ -589,7 +589,7 @@ function ReaderGesture:setupGesture(ges, action)
if self.is_docless then
overrides = { 'filemanager_tap' }
else
overrides = { 'readerfooter_tap', }
overrides = { 'readerfooter_tap' }
end
elseif ges == "tap_left_bottom_corner" then
ges_type = "tap"
@@ -600,7 +600,7 @@ function ReaderGesture:setupGesture(ges, action)
if self.is_docless then
overrides = { 'filemanager_tap' }
else
overrides = { 'readerfooter_tap', 'filemanager_tap' }
overrides = { 'readerfooter_tap' }
end
elseif ges == "two_finger_swipe_west" then
ges_type = "two_finger_swipe"