From 8af500237d6631aeaf81e14a489e8ee93793399c Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Tue, 22 Jul 2025 21:23:28 -0500 Subject: [PATCH] add a rectangle to test draw method --- src/of_the_day_manager.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/of_the_day_manager.py b/src/of_the_day_manager.py index 2017a557..1e948387 100644 --- a/src/of_the_day_manager.py +++ b/src/of_the_day_manager.py @@ -169,6 +169,10 @@ class OfTheDayManager: if not hasattr(self, '_last_title_debug_log') or current_time - self._last_title_debug_log > 5: logger.debug(f"Drawing title '{title}' at position ({title_x}, 2) with width {title_width}") self._last_title_debug_log = current_time + + # Test: Draw a simple red rectangle to verify drawing is working + self.display_manager.draw.rectangle([0, 0, 10, 10], fill=(255, 0, 0)) + self.display_manager.draw_text(title, title_x, 2, color=self.title_color, font=self.display_manager.extra_small_font)