[StatusBar] Allow status bars to be repainted if they are not covered (#9768)

This commit is contained in:
zwim
2022-11-20 05:33:44 +01:00
committed by GitHub
parent 81b2f22b04
commit 486d7071c7
13 changed files with 67 additions and 55 deletions

View File

@@ -54,7 +54,7 @@ function ReaderStatus:onEndOfBook()
self:onMarkBook(true)
end
if (settings == "pop-up" or settings == nil) and UIManager:getTopWidget() ~= "end_document" then
if (settings == "pop-up" or settings == nil) and UIManager:getNthTopWidget().name ~= "end_document" then
local buttons = {
{
{