From ff672bd8fd73b35190aa1e52d9547d0dcbe82bb5 Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Thu, 1 May 2025 20:20:56 -0500 Subject: [PATCH] adjust NFL Live scorebug center score --- src/nfl_managers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nfl_managers.py b/src/nfl_managers.py index 791987ab..4bd4be60 100644 --- a/src/nfl_managers.py +++ b/src/nfl_managers.py @@ -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