()
| 55 | } |
| 56 | |
| 57 | private refreshActive(): void { |
| 58 | const active = new Set<number>(); |
| 59 | for (const t of this.api.tracks) { |
| 60 | active.add(t.index); |
| 61 | } |
| 62 | for (const item of this.items) { |
| 63 | item.setActive(active.has(item.track.index)); |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | /** All TrackItem instances, in score order. */ |
| 68 | getItems(): readonly TrackItem[] { |
no test coverage detected