diff --git a/src/mlb_manager.py b/src/mlb_manager.py index 26423d49..f334a529 100644 --- a/src/mlb_manager.py +++ b/src/mlb_manager.py @@ -137,7 +137,11 @@ 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 + # Draw on the current image + self.display_manager.draw = draw self.display_manager._draw_bdf_text(status_text, status_x, status_y, color=(255, 255, 255), font=self.display_manager.calendar_font) + # Update the display + self.display_manager.update_display() # Format game date and time game_time = datetime.fromisoformat(game_data['start_time'].replace('Z', '+00:00')) @@ -167,7 +171,11 @@ 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 + # Draw on the current image + self.display_manager.draw = draw self.display_manager._draw_bdf_text(status_text, status_x, status_y, color=(255, 255, 255), font=self.display_manager.calendar_font) + # Update the display + self.display_manager.update_display() # Draw scores at the bottom (matching NHL layout) using PressStart2P away_score = str(game_data['away_score'])