song select: refresh a folder's song count text when the count changes #10

Merged
Yonokid merged 1 commits from GanYiZhong/PyTaikoGreen:fix/folder-count-refresh into main 2026-10-05 13:45:22 +02:00
1 Commits
Author SHA1 Message Date
TaikoZhongandClaude Opus 5.5 2e694d4952 song select: refresh a folder's song count text when the count changes
The folder texts are cached on first draw, but the engine fills in a
folder's song count with a background scan after the boxes are first
drawn, so the count text stayed at 0 for the rest of the session (e.g.
the folder under the cursor at startup kept showing 0 songs). The cache
now remembers the count it was built with and rebuilds that one text
when box.tja_count changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 14:12:42 +08:00