adjust NFL Live scorebug center score

This commit is contained in:
ChuckBuilds
2025-05-01 20:20:56 -05:00
parent 9d7c62352f
commit ff672bd8fd

View File

@@ -622,7 +622,7 @@ class NFLLiveManager(BaseNFLManager): # Renamed class
score_text = f"{away_score}-{home_score}"
score_width = draw_overlay.textlength(score_text, font=self.fonts['score'])
score_x = (self.display_width - score_width) // 2
score_y = self.display_height - 10 #from 14 # Position score higher
score_y = self.display_height // 2 #centered #from 14 # Position score higher
self._draw_text_with_outline(draw_overlay, score_text, (score_x, score_y), self.fonts['score'])
# Period/Quarter and Clock (Top center)
@@ -639,7 +639,7 @@ class NFLLiveManager(BaseNFLManager): # Renamed class
if down_distance and game.get("is_live"): # Only show if live and available
dd_width = draw_overlay.textlength(down_distance, font=self.fonts['detail'])
dd_x = (self.display_width - dd_width) // 2
dd_y = 0 #status_y + 9 # Below the status/clock line
dd_y = score_y + 9 # Below the status/clock line
self._draw_text_with_outline(draw_overlay, down_distance, (dd_x, dd_y), self.fonts['detail'], fill=(200, 200, 0)) # Yellowish text
# Timeouts (Bottom corners) - 3 small bars per team