This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-06-29 21:48:26 +03:00
parent 285f33c261
commit c09a3f04db
11 changed files with 593 additions and 227 deletions

View File

@ -17,6 +17,7 @@ type (
forUnit map[int]derivedForUnit
forTrack []derivedForTrack
forPattern []derivedForPattern
rail SignalRail // signal rail for the current patch
}
derivedForUnit struct {
@ -152,6 +153,7 @@ func (m *Model) updateDerivedScoreData() {
}
func (m *Model) updateDerivedPatchData() {
m.derived.rail.update(m.d.Song.Patch)
clear(m.derived.forUnit)
for i, instr := range m.d.Song.Patch {
for u, unit := range instr.Units {