zoom mode is meaningless when reflowing, so disable zoom mode options in reflow mode

This commit is contained in:
chrox committed 2014-12-03 16:33:21 +08:00
1 parent c43885b917
commit 35545169a6
2 files changed
+6 -1

No files matched your search

@@ -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"),