mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[UX] Add ToC/Bookmarks settings
- Menu widget: allow specifying the number of items per page and the item font size, so we can use other values than the default File browser ones - Menu: fix setDirty when a border is used - ToC: add item per page and font size settings, make Alternative ToC more visible (was previously available on long-press on Table of contents) - Bookmarks: add item per page, font size, size reduction - Progress bars (Skim widget and footer): allow selecting ToC depths from which ticks are made.
This commit is contained in:
@@ -859,7 +859,7 @@ function ReaderRolling:updatePos()
|
||||
self:_gotoXPointer(self.xpointer)
|
||||
self.ui:handleEvent(Event:new("UpdateToc"))
|
||||
end
|
||||
self:updateTopStatusBarMarkers()
|
||||
self:onUpdateTopStatusBarMarkers()
|
||||
UIManager:setDirty(self.view.dialog, "partial")
|
||||
-- Allow for the new rendering to be shown before possibly showing
|
||||
-- the "Styles have changed..." ConfirmBox so the user can decide
|
||||
@@ -1042,7 +1042,7 @@ function ReaderRolling:onSetStatusLine(status_line)
|
||||
self.ui:handleEvent(Event:new("UpdatePos"))
|
||||
end
|
||||
|
||||
function ReaderRolling:updateTopStatusBarMarkers()
|
||||
function ReaderRolling:onUpdateTopStatusBarMarkers()
|
||||
if not self.cre_top_bar_enabled then
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user