fix: small Synth button opens instrument modal (not SF list dropdown)

This commit is contained in:
2026-07-27 10:40:20 +07:00
parent 55a27b5957
commit e5bd442b7c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15888,7 +15888,7 @@ const App = () => {
})), " FX: ", /*#__PURE__*/React.createElement("span", {
className: "text-zinc-500 font-normal"
}, track.fxType || "None")), /*#__PURE__*/React.createElement("button", {
onClick: (e) => { e.stopPropagation(); const btn = e.currentTarget; setInstrumentDropdownTrackId(prev => prev === track.id ? null : track.id); setInstrumentDropdownBtnRect(btn.getBoundingClientRect()); setInstrumentSearchQuery(''); },
onClick: (e) => { e.stopPropagation(); openInstrumentSelector(track.id); },
className: "px-2.5 py-1 bg-zinc-800 hover:bg-zinc-700 text-amber-400 border border-amber-800 rounded text-xs font-bold flex items-center gap-1 max-w-[120px]"
}, /*#__PURE__*/React.createElement("span", {
className: "inline-flex items-center shrink-0"
File diff suppressed because one or more lines are too long