mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 21:03:01 +00:00
spacing adjustment on weather and clock. Added notes to readme about font type requing ttf. removed sensitive credentials
This commit is contained in:
@@ -120,7 +120,7 @@ class Clock:
|
||||
|
||||
# Draw AM/PM (small, next to time)
|
||||
time_width = self.display_manager.font.getlength(time_str)
|
||||
ampm_x = (display_width + time_width) // 2 + 2
|
||||
ampm_x = (display_width + time_width) // 2 + 4
|
||||
self.display_manager.draw_text(
|
||||
ampm,
|
||||
x=ampm_x,
|
||||
|
||||
Reference in New Issue
Block a user