mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 13:23:00 +00:00
Display Manager: Remove automatic display update from draw_text to prevent flickering
This commit is contained in:
@@ -265,9 +265,6 @@ class DisplayManager:
|
|||||||
# For TTF fonts, use PIL's text drawing
|
# For TTF fonts, use PIL's text drawing
|
||||||
self.draw.text((x, y), text, font=current_font, fill=color)
|
self.draw.text((x, y), text, font=current_font, fill=color)
|
||||||
|
|
||||||
# Update the display to show the text
|
|
||||||
self.update_display()
|
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Error drawing text: {e}", exc_info=True)
|
logger.error(f"Error drawing text: {e}", exc_info=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user