Skip to content

Commit

Permalink
Fix: update HUI remote fader, when level are changed from the mixer
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon authored and olzzon committed Sep 10, 2019
1 parent c4c9c3b commit b762d5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/MidiMixerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export class MidiMixerConnection {
channel: this.store.channels[0].channel[ch - 1].assignedFader
});
}
window.huiRemoteConnection.updateRemoteFaderState(faderChannel - 1, this.store.faders[0].fader[faderChannel - 1].faderLevel)
if (this.store.faders[0].fader[faderChannel - 1].pgmOn && this.mixerProtocol.mode === 'master')
{
this.store.channels[0].channel.map((channel: any, index: number) => {
Expand Down
1 change: 1 addition & 0 deletions src/utils/MixerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export class MixerGenericConnection {
this.mixerConnection.updateOutLevel(index);
}
})
window.huiRemoteConnection.updateRemoteFaderState(faderIndex, this.store.faders[0].fader[faderIndex].faderLevel)
}


Expand Down

0 comments on commit b762d5f

Please sign in to comment.