Skip to content

Commit

Permalink
fix: Update GUI when state of muteOn and voOn is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Dec 19, 2019
1 parent 7a14b5e commit 52bf3da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Channel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ class Channel extends React.Component<IChannelProps & IChannelInjectProps & Stor
public shouldComponentUpdate(nextProps: IChannelInjectProps) {
return (
nextProps.fader.pgmOn != this.props.fader.pgmOn ||
nextProps.fader.voOn != this.props.fader.voOn ||
nextProps.fader.pstOn != this.props.fader.pstOn ||
nextProps.fader.pflOn != this.props.fader.pflOn ||
nextProps.fader.muteOn != this.props.fader.muteOn ||
nextProps.fader.showChannel != this.props.fader.showChannel ||
nextProps.fader.faderLevel != this.props.fader.faderLevel ||
nextProps.fader.label != this.props.fader.label ||
Expand Down

0 comments on commit 52bf3da

Please sign in to comment.