fix: master strip PWR button now un-bypasses mastering when enabled

This commit is contained in:
2026-07-31 10:27:16 +07:00
parent 86b304e173
commit 3a345c3f4e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -999,7 +999,7 @@ const MasterStripConsole = ({ masterVolume, setMasterVolume, showMasteringModal,
className: "btn-daw h-[18px] rounded text-xs transition-all" + (isMasterActive ? " btn-teal-active" : ""), className: "btn-daw h-[18px] rounded text-xs transition-all" + (isMasterActive ? " btn-teal-active" : ""),
onClick: function() { onClick: function() {
if (setMasteringSettings) { if (setMasteringSettings) {
setMasteringSettings(function(prev) { return Object.assign({}, prev, { isBypassed: prev.masterConnected ? false : true, masterConnected: !prev.masterConnected }); }); setMasteringSettings(function(prev) { return Object.assign({}, prev, { masterConnected: !prev.masterConnected, isBypassed: false }); });
} }
}, },
title: "Bật/Tắt MASTERING PANEL Bypass" title: "Bật/Tắt MASTERING PANEL Bypass"
File diff suppressed because one or more lines are too long