mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
[fix] Gesture manager: send TapForward event for page forward (#4658)
Otherwise you can get rather unexpected results in paged media and scroll mode. Workaround suggested by @NiLuJe here: https://github.com/koreader/koreader/pull/4570#discussion_r258693835
This commit is contained in:
@@ -474,7 +474,7 @@ function ReaderGesture:gestureAction(action)
|
||||
elseif action == "page_jmp_fwd_10" then
|
||||
self:pageUpdate(10)
|
||||
elseif action == "page_jmp_fwd_1" then
|
||||
self:pageUpdate(1)
|
||||
self.ui:handleEvent(Event:new("TapForward"))
|
||||
elseif action == "page_jmp_back_10" then
|
||||
self:pageUpdate(-10)
|
||||
elseif action == "page_jmp_back_1" then
|
||||
|
||||
Reference in New Issue
Block a user