Skip to content

Commit

Permalink
fix(sisyfos): Use nullish check rather than or on channel reset
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterC89 committed Oct 4, 2024
1 parent 59f6d37 commit 65a73c5
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ export class SisyfosApi extends EventEmitter<SisyfosApiEvents> {
pgmOn: apiState.pgmOn === 1,
voOn: apiState.pgmOn === 2,
pstOn: apiState.pstOn === 1,
label: apiState.label || '',
faderLevel: apiState.faderLevel || 0.75,
muteOn: apiState.muteOn || false,
inputGain: apiState.inputGain || 0.75,
inputSelector: apiState.inputSelector || 1,
label: apiState.label ?? '',
faderLevel: apiState.faderLevel ?? 0.75,
muteOn: apiState.muteOn ?? false,
inputGain: apiState.inputGain ?? 0.75,
inputSelector: apiState.inputSelector ?? 1,
fadeTime: apiState.fadeTime,
showChannel: apiState.visible,
}
Expand Down

0 comments on commit 65a73c5

Please sign in to comment.