fix: show stale marker on the empty board
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
1 parent
baaaeff917
commit
410eb82a02
2 files changed
+8
No files matched your search
@@ -68,6 +68,8 @@ def render_board(upcoming: list[Upcoming], now: datetime, fonts: dict, stale: bo
|
||||
|
||||
if not upcoming:
|
||||
d.text((W // 2, H // 2), "Žádné odjezdy", font=fonts["hero_stop"], fill=TEXT_DIM, anchor="mm")
|
||||
if stale:
|
||||
d.text((16, H - 12), "jízdní řád zastaralý", font=fonts["hero_small"], fill=ACCENT, anchor="lm")
|
||||
return img
|
||||
|
||||
first = upcoming[0]
|
||||
|
||||
Reference in new issue
Block a user