mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
MenuSorter: initial implementation
* Menus are now sanely configurable * Custom separator placement for clearer menus
This commit is contained in:
@@ -258,11 +258,11 @@ function ReaderRolling:addToMainMenu(tab_item_table)
|
||||
for _, menu_entry in ipairs(self.view:genOverlapStyleMenu()) do
|
||||
table.insert(page_overlap_menu, menu_entry)
|
||||
end
|
||||
table.insert(tab_item_table.typeset, {
|
||||
self.ui.menu.menu_items["page_overlap"] = {
|
||||
text = _("Page overlap"),
|
||||
enabled_func = function() return self.view.view_mode ~= "page" end,
|
||||
sub_item_table = page_overlap_menu,
|
||||
})
|
||||
}
|
||||
end
|
||||
|
||||
function ReaderRolling:getLastPercent()
|
||||
|
||||
Reference in New Issue
Block a user