mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Adds ReaderPageMap, to optionally show source pages numbers
bump crengine: support for EPUB3 nav toc and page maps Includes: - Fix lvRect:isRectInside(rc) with 0-width or 0-height rect - TOC: parse EPUB3 nav toc, fallback to spine when no toc - Parse and cache various hardcopy page list maps - epub.css: hide EPUB3 <span epub:type="pagebreak"> content cre.cpp: add a few PageMap helper functions. Adds ReaderPageMap which will add a new menu (under TOC and Bookmarks) that will allow: - to list source page numbers (like a TOC) - to show visible page labels in the right margin - to use these source page numbers in the footer, the TOC, the GoTo and SkimTo widgets, and to use the source page number in the standard bookmark and highlight initial text.
This commit is contained in:
@@ -790,7 +790,6 @@ function ReaderRolling:onUpdatePos()
|
||||
-- that were triggering a full repaint of crengine (so, the needed
|
||||
-- rerendering) before updatePos() is called.
|
||||
UIManager:scheduleIn(0.1, function () self:updatePos() end)
|
||||
return true
|
||||
end
|
||||
|
||||
function ReaderRolling:updatePos()
|
||||
@@ -837,7 +836,6 @@ function ReaderRolling:onChangeViewMode()
|
||||
self:_gotoXPointer(self.xpointer)
|
||||
end)
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
function ReaderRolling:onRedrawCurrentView()
|
||||
|
||||
Reference in New Issue
Block a user