[UX] Next/Previous Bookmark Gestures (#5968)

Fixes #5965
This commit is contained in:
yparitcher authored and GitHub committed 2020-03-16 16:52:09 +01:00
1 parent 4a5a2eb708
commit 08359ee1b6
6 files changed
+39 -55

No files matched your search

+8
View File
@@ -747,4 +747,12 @@ function ReaderUI:switchDocument(new_file)
self:showReader(new_file)
end
function ReaderUI:getCurrentPage()
if self.document.info.has_pages then
return self.paging.current_page
else
return self.document:getCurrentPage()
end
end
return ReaderUI