mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_houqp
This commit is contained in:
@@ -164,7 +164,13 @@ function ReaderView:onRotationUpdate(rotation)
|
||||
end
|
||||
|
||||
function ReaderView:onHintPage()
|
||||
self.ui.document:hintPage(self.state.page+1, self.state.zoom, self.state.rotation, self.render_mode)
|
||||
if self.state.page < self.ui.document.info.number_of_pages then
|
||||
self.ui.document:hintPage(
|
||||
self.state.page+1,
|
||||
self.state.zoom,
|
||||
self.state.rotation,
|
||||
self.render_mode)
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user