mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-12 13:42:59 +00:00
add text color
This commit is contained in:
@@ -526,6 +526,9 @@ class MLBLiveManager(BaseMLBManager):
|
|||||||
|
|
||||||
# --- Live Game Specific Elements ---
|
# --- Live Game Specific Elements ---
|
||||||
|
|
||||||
|
# Define default text color
|
||||||
|
text_color = (255, 255, 255)
|
||||||
|
|
||||||
# Draw Inning (Top Center)
|
# Draw Inning (Top Center)
|
||||||
inning_half_indicator = "▲" if game_data['inning_half'] == 'top' else "▼"
|
inning_half_indicator = "▲" if game_data['inning_half'] == 'top' else "▼"
|
||||||
inning_text = f"{inning_half_indicator}{game_data['inning']}"
|
inning_text = f"{inning_half_indicator}{game_data['inning']}"
|
||||||
|
|||||||
Reference in New Issue
Block a user