Skip to content

Commit

Permalink
fix: multiple mixers - aux settings support for first mixer - ToDo: s…
Browse files Browse the repository at this point in the history
…upport multiple mixers
  • Loading branch information
olzzon authored and olzzon committed Oct 9, 2020
1 parent 9b3642a commit 921be2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/ChannelMonitorOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class ChannelMonitorOptions extends React.PureComponent<

handleSetAux = (event: ChangeEvent<HTMLInputElement>) => {
let value = parseFloat(event.target.value) || -1
if (value > this.props.settings.numberOfAux || value < 0) {
if (value > this.props.settings.mixers[0].numberOfAux || value < 0) {
value = -1
}
window.socketIoClient.emit(SOCKET_SET_FADER_MONITOR, {
Expand Down

0 comments on commit 921be2d

Please sign in to comment.