mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 13:23:00 +00:00
making mlb live logos larger
This commit is contained in:
@@ -104,8 +104,9 @@ class BaseMLBManager:
|
|||||||
draw = ImageDraw.Draw(image)
|
draw = ImageDraw.Draw(image)
|
||||||
|
|
||||||
# Set logo size
|
# Set logo size
|
||||||
logo_size = (24, 24) # Shrink to 24x24
|
new_logo_height = 28
|
||||||
logo_y_offset = 4 # Move down from top edge
|
logo_size = (new_logo_height, new_logo_height) # Increase size
|
||||||
|
logo_y_offset = (height - new_logo_height) // 2 # Center vertically
|
||||||
# center_y = height // 2 # center_y not used for logo placement now
|
# center_y = height // 2 # center_y not used for logo placement now
|
||||||
|
|
||||||
# Load team logos
|
# Load team logos
|
||||||
@@ -509,8 +510,9 @@ class MLBLiveManager(BaseMLBManager):
|
|||||||
draw = ImageDraw.Draw(image)
|
draw = ImageDraw.Draw(image)
|
||||||
|
|
||||||
# Set logo size
|
# Set logo size
|
||||||
logo_size = (24, 24) # Shrink to 24x24
|
new_logo_height = 28
|
||||||
logo_y_offset = 0 # Move down from top edge
|
logo_size = (new_logo_height, new_logo_height) # Increase size
|
||||||
|
logo_y_offset = 0# Center vertically
|
||||||
# center_y = height // 2 # center_y not used for logo placement now
|
# center_y = height // 2 # center_y not used for logo placement now
|
||||||
|
|
||||||
# Load and place team logos (same as base method)
|
# Load and place team logos (same as base method)
|
||||||
|
|||||||
Reference in New Issue
Block a user