mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
Fix mode switching to ensure proper display clearing between modes
This commit is contained in:
@@ -177,9 +177,10 @@ class DisplayController:
|
||||
self.current_mode_index = (self.current_mode_index + 1) % len(self.available_modes)
|
||||
self.current_display_mode = self.available_modes[self.current_mode_index]
|
||||
logger.info(f"Switching to: {self.current_display_mode}")
|
||||
# Force clear when switching modes
|
||||
self.force_clear = True
|
||||
|
||||
self.last_switch = current_time
|
||||
self.force_clear = True
|
||||
|
||||
# Display current mode frame
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user