Option to prevent tap on status bar (#6083)

See: #5969
reviewable/pr6095/r1
Robert 4 years ago committed by GitHub
parent 6a98b2dce9
commit 7d139263d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -844,6 +844,15 @@ function ReaderFooter:addToMainMenu(menu_items)
self:refreshFooter(true, true)
end,
},
{
text = _("Lock status bar"),
checked_func = function()
return self.settings.lock_tap
end,
callback = function()
self.settings.lock_tap = not self.settings.lock_tap
end,
},
{
text = _("Font"),
separator = true,
@ -1776,7 +1785,7 @@ function ReaderFooter:onExitFlippingMode()
end
function ReaderFooter:onTapFooter(ges)
if self.has_no_mode then
if self.has_no_mode or self.settings.lock_tap then
return
end
if self.view.flipping_visible then

Loading…
Cancel
Save