fix: master strip PWR button now un-bypasses mastering when enabled
This commit is contained in:
@@ -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
Reference in New Issue
Block a user