Fix blank calendar display by optimizing clear/redraw logic

This commit is contained in:
ChuckBuilds
2025-04-22 12:26:08 -05:00
parent cfd3ea6928
commit 6ad1af1919
2 changed files with 8 additions and 2 deletions

View File

@@ -376,6 +376,9 @@ class DisplayController:
self.news.display_news()
elif self.current_display_mode == 'calendar' and self.calendar:
# Update calendar data if needed
self.calendar.update(current_time)
# Always display the calendar, with force_clear only on mode switch
self.calendar.display(force_clear=self.force_clear)
elif self.current_display_mode == 'nhl_recent' and self.nhl_recent: