From a48c518c52ba86305dba7bf557689f086361a55e Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Thu, 4 Jan 2024 23:30:02 -0500 Subject: [PATCH] Pack status icons together --- py/hexagram/status.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/py/hexagram/status.py b/py/hexagram/status.py index 2a05e68..c2db6a6 100644 --- a/py/hexagram/status.py +++ b/py/hexagram/status.py @@ -166,8 +166,8 @@ class StatusIconBox(Gauge): if icon is not None: icon.draw(cr, self.x + x, self.y + y) - x += self.ICON_WIDTH + x += self.ICON_WIDTH - if x >= self.width: - x = 0 + if x >= self.width: + x = 0 y -= self.ICON_HEIGHT