fix(tracker): update sequencer patch when instrument deleted

This commit is contained in:
vsariola 2021-01-30 23:03:44 +02:00
parent 5033e8fa8e
commit f3b21cc75f

View File

@ -220,6 +220,7 @@ func (t *Tracker) DeleteInstrument() {
if t.CurrentInstrument >= len(t.song.Patch.Instruments) {
t.CurrentInstrument = len(t.song.Patch.Instruments) - 1
}
t.sequencer.SetPatch(t.song.Patch)
}
// SetCurrentNote sets the (note) value in current pattern under cursor to iv