"Page turns" menu development (#8022)

Make "Taps and gestures - Page turns" available only in reader.
Move there other page turn related menu items from Navigation.
Remove duplicated code. Added standard "star" for default RTL.
This commit is contained in:
hius07 authored and GitHub committed 2021-07-25 23:59:06 +02:00
1 parent 990b6768f4
commit e5f28a0f60
7 files changed
+72 -84

No files matched your search

@@ -180,6 +180,7 @@ function ReaderMenu:setUpdateItemTable()
for id, common_setting in pairs(dofile("frontend/ui/elements/common_settings_menu_table.lua")) do
self.menu_items[id] = common_setting
end
self.menu_items.page_turns = require("ui/elements/page_turns")
-- insert DjVu render mode submenu just before the last entry (show advanced)
-- this is a bit of a hack
if self.ui.document.is_djvu then