mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-12 13:42:59 +00:00
fix: explicitly use correct fonts in calendar event display
This commit is contained in:
@@ -135,7 +135,7 @@ class CalendarManager:
|
|||||||
|
|
||||||
# Draw date and time on top line
|
# Draw date and time on top line
|
||||||
datetime_str = f"{date_str} {time_str}"
|
datetime_str = f"{date_str} {time_str}"
|
||||||
self.display_manager.draw_text(datetime_str, y=2, color=self.text_color, small_font=True)
|
self.display_manager.draw_text(datetime_str, y=2, color=self.text_color, font=datetime_font)
|
||||||
|
|
||||||
# Wrap summary text for two lines using calendar font
|
# Wrap summary text for two lines using calendar font
|
||||||
title_lines = self._wrap_text(summary, available_width, summary_font, max_lines=2)
|
title_lines = self._wrap_text(summary, available_width, summary_font, max_lines=2)
|
||||||
|
|||||||
Reference in New Issue
Block a user