Prevent automatic footer refreshes from drawing the footer on top of stuff that isn't ReaderUI (#6648)

* Prevent refreshing the footer automatically where it doesn't make sense to.

Issue exposed by #6540
Fix #6616
This commit is contained in:
NiLuJe
2020-09-12 22:57:53 +02:00
committed by GitHub
parent b031d1c359
commit e0546d0fc8
4 changed files with 68 additions and 5 deletions

View File

@@ -1263,6 +1263,7 @@ function ReaderLink:showAsFootnotePopup(link, neglect_current_location)
local FootnoteWidget = require("ui/widget/footnotewidget")
local popup
popup = FootnoteWidget:new{
covers_footer = true, -- hint for UIManager:repaintReaderFooter
html = html,
doc_font_size = Screen:scaleBySize(self.ui.font.font_size),
doc_margins = self.ui.document:getPageMargins(),