Series drill-down: poster and details of the selected season or episode

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019reK4DUGYqDUjniWYJvwUW
This commit is contained in:
2026-10-21 08:28:49 +02:00
co-authored by Claude Opus 5.5
parent 8601a2af6f
commit 60fd71bc92
5 changed files with 114 additions and 13 deletions
+10
View File
@@ -64,3 +64,13 @@ func (a *App) restyleCovers() {
p.Show(p.detail, p.lastRef) // fetch the poster again for the new style
}
}
// forgetPane drops a detail pane that is no longer shown (a closed drill-down).
func (a *App) forgetPane(d *detailPane) {
for i, p := range a.panes {
if p == d {
a.panes = append(a.panes[:i], a.panes[i+1:]...)
return
}
}
}