Fix: incorrect chapter markers (#5425)

This commit is contained in:
Robert authored and poire-z committed 2019-09-25 19:40:00 +02:00
1 parent e7cfc65780
commit 0778ec09fc
2 files changed
+4 -1

No files matched your search

@@ -751,6 +751,7 @@ function ReaderRolling:onChangeViewMode()
self.old_doc_height = self.ui.document.info.doc_height
self.old_page = self.ui.document.info.number_of_pages
self.ui:handleEvent(Event:new("UpdateToc"))
self.view.footer:setTocMarkers(true)
if self.xpointer then
self:_gotoXPointer(self.xpointer)
-- Ensure a whole screen refresh is always enqueued