mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 13:23:00 +00:00
removed extra spacing between scores NHL
This commit is contained in:
@@ -404,7 +404,7 @@ class BaseNHLManager:
|
|||||||
# For live/final games, show scores and period/time
|
# For live/final games, show scores and period/time
|
||||||
home_score = str(game.get("home_score", "0"))
|
home_score = str(game.get("home_score", "0"))
|
||||||
away_score = str(game.get("away_score", "0"))
|
away_score = str(game.get("away_score", "0"))
|
||||||
score_text = f"{away_score} - {home_score}"
|
score_text = f"{away_score}-{home_score}"
|
||||||
|
|
||||||
# Calculate position for the score text (centered at the bottom)
|
# Calculate position for the score text (centered at the bottom)
|
||||||
score_width = draw.textlength(score_text, font=self.fonts['score'])
|
score_width = draw.textlength(score_text, font=self.fonts['score'])
|
||||||
|
|||||||
Reference in New Issue
Block a user