mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 21:33:00 +00:00
adjust display method for text_display
This commit is contained in:
@@ -98,10 +98,7 @@ class TextDisplay:
|
|||||||
|
|
||||||
def display(self):
|
def display(self):
|
||||||
"""Draw the text onto the display manager's canvas."""
|
"""Draw the text onto the display manager's canvas."""
|
||||||
self.display_manager.draw.rectangle(
|
self.display_manager.clear()
|
||||||
(0, 0, self.display_manager.matrix.width, self.display_manager.matrix.height),
|
|
||||||
fill=self.bg_color
|
|
||||||
)
|
|
||||||
|
|
||||||
matrix_width = self.display_manager.matrix.width
|
matrix_width = self.display_manager.matrix.width
|
||||||
matrix_height = self.display_manager.matrix.height
|
matrix_height = self.display_manager.matrix.height
|
||||||
|
|||||||
Reference in New Issue
Block a user