From c8e6d5a201640fe8882e55377043515217a1cf1a Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Fri, 18 Apr 2025 12:26:55 -0500 Subject: [PATCH] fix: Adjust NHL team logo positions to prevent overlapping - Move home team logo to right side (3/4 width) - Keep away team logo on left side (1/4 width) - Fixes issue with logos being displayed in the same position --- src/nhl_scoreboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nhl_scoreboard.py b/src/nhl_scoreboard.py index 15c0534b..052e32f4 100644 --- a/src/nhl_scoreboard.py +++ b/src/nhl_scoreboard.py @@ -1219,7 +1219,7 @@ class NHLScoreboardManager: # Draw team logos if home_logo: - home_x = width // 4 - home_logo.width // 2 + home_x = 3 * width // 4 - home_logo.width // 2 home_y = height // 4 - home_logo.height // 2 # Create a temporary RGB image for compositing temp_img = Image.new('RGB', (width, height), 'black')