mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add page status to readerrolling for better page view_mode support
* now when rendering in page view mode, we only keep track of page number instead of pos inside document. Because using pos inside document for page view mode is really a bad idea and will lead to many unsovlabe bugs...
This commit is contained in:
@@ -92,6 +92,9 @@ function ReaderFont:onShowFontMenu()
|
||||
return true
|
||||
end
|
||||
|
||||
--[[
|
||||
UpdatePos event is used to tell ReaderRolling to update pos.
|
||||
--]]
|
||||
function ReaderFont:onChangeSize(direction)
|
||||
local delta = 1
|
||||
if direction == "decrease" then
|
||||
|
||||
Reference in New Issue
Block a user