diff --git a/config/config.json b/config/config.json index 2cd1ef80..7b03faab 100644 --- a/config/config.json +++ b/config/config.json @@ -77,7 +77,7 @@ "enabled": true, "update_interval": 300, "symbols": [ - "ASTS", "SCHD", "INTC", "NVDA", "T", "VOO", "SPEST", "SMCI" + "ASTS", "SCHD", "INTC", "NVDA", "T", "VOO", "SMCI" ], "display_format": "{symbol}: ${price} ({change}%)" }, diff --git a/src/ncaa_baseball_managers.py b/src/ncaa_baseball_managers.py index ce4eb2a6..2b371e61 100644 --- a/src/ncaa_baseball_managers.py +++ b/src/ncaa_baseball_managers.py @@ -577,7 +577,17 @@ class NCAABaseballLiveManager(BaseNCAABaseballManager): count_y = cluster_bottom_y + 2 count_x = bases_origin_x + (base_cluster_width - count_text_width) // 2 self.display_manager.draw = draw - self._draw_text_with_outline(draw, count_text, (count_x, count_y), bdf_font, fill=text_color) + # self._draw_text_with_outline(draw, count_text, (count_x, count_y), bdf_font, fill=text_color) + + # Draw Balls-Strikes Count with outline using BDF font + outline_color_for_bdf = (0, 0, 0) # Default outline color + + # Draw outline + for dx_offset, dy_offset in [(-1, -1), (-1, 0), (-1, 1), (0, -1), (0, 1), (1, -1), (1, 0), (1, 1)]: + self.display_manager._draw_bdf_text(count_text, count_x + dx_offset, count_y + dy_offset, color=outline_color_for_bdf, font=bdf_font) + + # Draw main text + self.display_manager._draw_bdf_text(count_text, count_x, count_y, color=text_color, font=bdf_font) score_font = self.display_manager.font; outline_color = (0, 0, 0); score_text_color = (255, 255, 255) def draw_bottom_outlined_text(x, y, text):