[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

@@ -75,7 +75,7 @@ function SortItemWidget:init()
w = self.width,
h = self.height,
},
HorizontalGroup:new {
HorizontalGroup:new{
align = "center",
CenterContainer:new{
dimen = Geom:new{ w = checked_widget:getSize().w },
@@ -146,6 +146,10 @@ function SortWidget:init()
w = self.width or Screen:getWidth(),
h = self.height or Screen:getHeight(),
}
if self.dimen.h == Screen:getHeight() then
self.covers_footer = true
end
if Device:hasKeys() then
self.key_events.Close = { { Device.input.group.Back } }
self.key_events.NextPage = { { Device.input.group.PgFwd } }