mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user