Commit ffd2f5a
fix(basketball,baseball): add odds layout offsets and align customization (#74)
* fix(basketball,baseball): add odds layout offsets and align customization
Basketball:
- Add odds rendering to scroll mode (render_game_card now calls
_draw_dynamic_odds, matching baseball's behavior)
- Apply user-configurable layout offsets to odds positioning in both
switch mode (sports.py) and scroll mode (game_renderer.py)
Baseball:
- Add missing font customization entries: period_text, team_name,
rank_text (aligns with football/basketball)
- Add odds layout offset to config schema
- Apply user-configurable layout offsets to odds positioning
- Update x-propertyOrder to include new entries
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: address PR review findings for manifest and layout offsets
- Baseball manifest: bump to 1.6.0 (schema additions warrant minor),
add versions array entry, update last_updated to 2026-03-30
- Basketball manifest: add missing 1.5.5 entry to versions array so
versions[0] matches the version field
- Both game_renderer.py _get_layout_offset: align with SportsCore
pattern — handle string values via int(float(value)) and log
warnings on invalid values instead of silently returning default
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4068d54 commit ffd2f5a
6 files changed
Lines changed: 1535 additions & 1330 deletions
File tree
- plugins
- baseball-scoreboard
- basketball-scoreboard
0 commit comments