mirror of
https://github.com/koreader/koreader
synced 2024-11-13 19:11:25 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
b052296881
@ -284,7 +284,8 @@ function ReaderRolling:onGotoViewRel(diff)
|
||||
end
|
||||
self:gotoPos(self.current_pos + pan_diff)
|
||||
elseif self.view.view_mode == "page" then
|
||||
self:gotoPage(self.current_page + diff)
|
||||
local page_count = self.ui.document:getVisiblePageCount()
|
||||
self:gotoPage(self.current_page + diff*page_count)
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user