mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 13:23:00 +00:00
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
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user