mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-13 05:53:00 +00:00
adjusted nhl upcoming date and time spacing slightly further
This commit is contained in:
@@ -398,7 +398,7 @@ class BaseNHLManager:
|
|||||||
# Calculate position for the time text (centered horizontally, in center)
|
# Calculate position for the time text (centered horizontally, in center)
|
||||||
time_width = draw.textlength(game_time, font=self.fonts['time'])
|
time_width = draw.textlength(game_time, font=self.fonts['time'])
|
||||||
time_x = (self.display_width - time_width) // 2
|
time_x = (self.display_width - time_width) // 2
|
||||||
time_y = date_y + 5 # Position below date
|
time_y = date_y + 10 # Position below date
|
||||||
draw.text((time_x, time_y), game_time, font=self.fonts['time'], fill=(255, 255, 255))
|
draw.text((time_x, time_y), game_time, font=self.fonts['time'], fill=(255, 255, 255))
|
||||||
else:
|
else:
|
||||||
# For live/final games, show scores and period/time
|
# For live/final games, show scores and period/time
|
||||||
|
|||||||
Reference in New Issue
Block a user