mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-12 05:42:59 +00:00
Update display_manager.py
stop drawing text and start drawing images
This commit is contained in:
@@ -154,6 +154,9 @@ class DisplayManager:
|
|||||||
|
|
||||||
# Calculate next line position
|
# Calculate next line position
|
||||||
current_y += line_heights[i] + padding
|
current_y += line_heights[i] + padding
|
||||||
|
|
||||||
|
# Update the display with the new image
|
||||||
|
self.matrix.SetImage(self.image)
|
||||||
|
|
||||||
def cleanup(self):
|
def cleanup(self):
|
||||||
"""Clean up resources."""
|
"""Clean up resources."""
|
||||||
|
|||||||
Reference in New Issue
Block a user