From b554c3db0665a4947d670a8684f38698d0ae0831 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sat, 6 Jan 2024 18:54:31 -0500 Subject: [PATCH] Hell yeah --- py/hexagram/status.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py/hexagram/status.py b/py/hexagram/status.py index 58e7dc4..03db9d4 100644 --- a/py/hexagram/status.py +++ b/py/hexagram/status.py @@ -304,7 +304,7 @@ class StatusIconBox(Gauge): icon = self.icons[typeof] if icon.drawable(status): - icon.draw(cr, x, y) + icon.draw(cr, x, y, status) x += self.ICON_WIDTH @@ -323,3 +323,4 @@ class StatusIconBox(Gauge): def set(self, status: enum.Enum): self.statuses[type(status)] = status + self._redraw = True