mirror of
https://github.com/vsariola/sointu.git
synced 2025-06-04 01:28:45 -04:00
fix(tracker): update sequencer patch when instrument deleted
This commit is contained in:
parent
5033e8fa8e
commit
f3b21cc75f
@ -220,6 +220,7 @@ func (t *Tracker) DeleteInstrument() {
|
|||||||
if t.CurrentInstrument >= len(t.song.Patch.Instruments) {
|
if t.CurrentInstrument >= len(t.song.Patch.Instruments) {
|
||||||
t.CurrentInstrument = len(t.song.Patch.Instruments) - 1
|
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
|
// SetCurrentNote sets the (note) value in current pattern under cursor to iv
|
||||||
|
Loading…
x
Reference in New Issue
Block a user