mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
zoom mode is meaningless when reflowing, so disable zoom mode options in reflow mode
This commit is contained in:
@@ -295,6 +295,9 @@ function ReaderZooming:addToMainMenu(tab_item_table)
|
||||
if self.ui.document.info.has_pages then
|
||||
table.insert(tab_item_table.typeset, {
|
||||
text = _("Switch zoom mode"),
|
||||
enabled_func = function()
|
||||
return self.ui.document.configurable.text_wrap ~= 1
|
||||
end,
|
||||
sub_item_table = {
|
||||
{
|
||||
text = _("Zoom to fit content width"),
|
||||
|
||||
Reference in New Issue
Block a user