Skip to content

Commit

Permalink
[fix] Gesture manager: send TapForward event for page forward
Browse files Browse the repository at this point in the history
Otherwise you can get rather unexpected results in paged media and scroll mode.

Workaround suggested by @NiLuJe here: koreader#4570 (comment)
  • Loading branch information
Frenzie committed Feb 24, 2019
1 parent 7098e6e commit 22f736e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/apps/reader/modules/readergesture.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22f736e

Please sign in to comment.