bypass...
This commit is contained in:
parent
9365397b1a
commit
adde12a0bb
1 changed files with 2 additions and 2 deletions
|
@ -429,9 +429,9 @@ async function toggleBypass(pedalId) {
|
|||
const pedal = await getCurrentPedalById(pedalId);
|
||||
const bypass = getBypassControlFromPedal(pedal);
|
||||
if (bypass.value === undefined || bypass.value === 0) {
|
||||
bypass.value = 127;
|
||||
} else {
|
||||
bypass.value = 0;
|
||||
} else {
|
||||
bypass.value = 127;
|
||||
}
|
||||
try {
|
||||
await setControl(bypass, bypass.value);
|
||||
|
|
Loading…
Reference in a new issue