From 47a9052d392e61fa0db201b499567c994fa1b8f5 Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Fri, 25 Apr 2025 10:25:03 -0500 Subject: [PATCH] MLB Manager improvements: Add color parameter to _draw_bdf_text calls to make status text visible --- src/mlb_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mlb_manager.py b/src/mlb_manager.py index 60ed75ba..e00dac53 100644 --- a/src/mlb_manager.py +++ b/src/mlb_manager.py @@ -134,7 +134,7 @@ class BaseMLBManager: status_width = self.display_manager.get_text_width(status_text, self.display_manager.calendar_font) status_x = (width - status_width) // 2 status_y = 2 - self.display_manager._draw_bdf_text(status_text, status_x, status_y) + self.display_manager._draw_bdf_text(status_text, status_x, status_y, color=(255, 255, 255)) # Format game date and time game_time = datetime.fromisoformat(game_data['start_time'].replace('Z', '+00:00')) @@ -162,7 +162,7 @@ class BaseMLBManager: status_width = self.display_manager.get_text_width(status_text, self.display_manager.calendar_font) status_x = (width - status_width) // 2 status_y = 2 - self.display_manager._draw_bdf_text(status_text, status_x, status_y) + self.display_manager._draw_bdf_text(status_text, status_x, status_y, color=(255, 255, 255)) # Draw scores at the bottom (matching NHL layout) using PressStart2P away_score = str(game_data['away_score'])