mirror of
https://github.com/vsariola/sointu.git
synced 2025-09-06 21:34:52 -04:00
fix(tracker): update sequencer patch when instrument deleted
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user