fix: Select Instrument stays open after picking instrument
Remove setInstrumentSelectorTrackId(null) from setTrackInstrumentWithProgram. Modal stays open so user can switch tracks and assign instruments without reopening.
This commit is contained in:
@@ -6919,9 +6919,7 @@ const App = () => {
|
||||
}));
|
||||
setInstrumentDropdownTrackId(null);
|
||||
setInstrumentDropdownBtnRect(null);
|
||||
setInstrumentSelectorTrackId(null);
|
||||
setSynthCategory(null);
|
||||
setSelectedSoundFontId(null);
|
||||
// Trigger SpessaSynth load + program change when soundfont instrument selected
|
||||
if (window.SonicSF && window.SonicSF.selectInstrument && instrumentId && isSfInstrument) {
|
||||
const sfId = instrumentId.replace('sf_', '');
|
||||
|
||||
Reference in New Issue
Block a user