Skip to content
Snippets Groups Projects
Verified Commit 397d02ab authored by dos's avatar dos
Browse files

py,st3m: overlays: Extend IconTray's bounding box

The old bounding box does not cover the case when all the icons
are visible (Wi-Fi enabled while charging), leading to artifacts.
parent 3e46f0f0
Branches
Tags
No related merge requests found
......@@ -672,7 +672,7 @@ class IconTray(Overlay):
def needs_redraw(self, rect: Region) -> bool:
if self.visible:
rect.add(-40, -120, 40, -88)
rect.add(-50, -120, 50, -88)
for i in range(len(self.visible)):
if (
self.visible[i].changed()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment