mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[chore] Deprecate TapForward/TapBackward (#4689)
Also fix previous page action in gesture manager.
This commit is contained in:
@@ -512,11 +512,11 @@ function ReaderGesture:gestureAction(action)
|
||||
elseif action == "page_jmp_fwd_10" then
|
||||
self:pageUpdate(10)
|
||||
elseif action == "page_jmp_fwd_1" then
|
||||
self.ui:handleEvent(Event:new("TapForward"))
|
||||
self.ui:handleEvent(Event:new("GotoViewRel", 1))
|
||||
elseif action == "page_jmp_back_10" then
|
||||
self:pageUpdate(-10)
|
||||
elseif action == "page_jmp_back_1" then
|
||||
self:pageUpdate(-1)
|
||||
self.ui:handleEvent(Event:new("GotoViewRel", -1))
|
||||
elseif action == "next_chapter" then
|
||||
self.ui:handleEvent(Event:new("GotoNextChapter"))
|
||||
elseif action == "prev_chapter" then
|
||||
|
||||
Reference in New Issue
Block a user