mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 05:13:01 +00:00
AI bug squash sesh
This commit is contained in:
@@ -337,7 +337,11 @@ class BaseNCAABaseballManager:
|
||||
away_spread = f"+{away_spread}"
|
||||
|
||||
# Define colors for odds text
|
||||
odds_font = self.display_manager.status_font
|
||||
# Use a small readable font for odds; fall back to default if not available
|
||||
try:
|
||||
odds_font = ImageFont.truetype("assets/fonts/4x6-font.ttf", 6)
|
||||
except IOError:
|
||||
odds_font = ImageFont.load_default()
|
||||
odds_color = (255, 0, 0) # Red text
|
||||
outline_color = (0, 0, 0) # Black outline
|
||||
|
||||
|
||||
Reference in New Issue
Block a user