fix(ui): add VST FX vao master chain tu dong mo GUI embed

MasteringModal co 2 duong add: addMasterVst (goi openMasterVstGui, ham
chet khong ai dung) va addVstToChain (picker dung, chi them vao chain
khong mo GUI) -> user phai bam vao slot moi thay GUI. Gop: addVstToChain
goi openMasterVstGui ngay sau khi them slot.

Verified: engine-from-source serve bundle co fix; app installed (installer
rebuilt -Frontend -Tauri): Ozone GUI OPEN 11.3s, frames 10/10 jpeg, spawn.log
sach 0x7E/Fatal.
This commit is contained in:
2026-09-02 10:01:48 +07:00
parent d068927694
commit d3094a3ba5
2 changed files with 6 additions and 3 deletions
+2
View File
@@ -14917,6 +14917,8 @@ const addMasterVst = (path) => { const fx = (masterFxList || []).find(f => f.pat
vstFxChain: [...(prev.vstFxChain || []), { type: 'vst3', path: fx.path, name: fx.name || fx.id, preset_b64: '', bypass: false }]
}));
setAddModuleOpen(false);
// Tự mở GUI embed ngay khi add — user không phải bấm vào slot trong chain.
openMasterVstGui({ path: fx.path, name: fx.name || fx.id });
};
const updateChainEntryParams = (modId, patch) => {
setOzState(prev => ({