mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 05:13:01 +00:00
Shift team logos in by 3 pixels for better positioning
This commit is contained in:
@@ -238,14 +238,14 @@ class BaseNHLManager:
|
||||
center_y = self.display_height // 2
|
||||
|
||||
# Draw home team logo (far right, extending beyond screen)
|
||||
home_x = self.display_width - home_logo.width + 15 # Moved 5 pixels back towards center
|
||||
home_x = self.display_width - home_logo.width + 12 # Shifted in by 3 pixels (from 15 to 12)
|
||||
home_y = center_y - (home_logo.height // 2)
|
||||
|
||||
# Paste the home logo onto the overlay
|
||||
overlay.paste(home_logo, (home_x, home_y), home_logo)
|
||||
|
||||
# Draw away team logo (far left, extending beyond screen)
|
||||
away_x = -15 # Moved 5 pixels back towards center
|
||||
away_x = -12 # Shifted in by 3 pixels (from -15 to -12)
|
||||
away_y = center_y - (away_logo.height // 2)
|
||||
|
||||
# Paste the away logo onto the overlay
|
||||
|
||||
Reference in New Issue
Block a user