Skip to content

Commit

Permalink
fix: App -> passed an unused argument to MidiRemoteConnection
Browse files Browse the repository at this point in the history
style: Added className to text above Remote Midi controller selector boxes
  • Loading branch information
olzzon committed Jun 1, 2019
1 parent 1eb4500 commit 386d496
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class App extends Component<any, any> {
componentWillMount() {
this.mixerConnection = new MixerConnection(this.props.store);
this.automationConnection = new AutomationConnection(this.mixerConnection);
this.midiRemoteConnection = new MidiRemoteConnection(this.mixerConnection);
this.midiRemoteConnection = new MidiRemoteConnection();
this.snapShopStoreTimer();
loadSnapshotState(this.props.store.channels[0], this.props.store.settings[0].numberOfChannels);
}
Expand Down
8 changes: 6 additions & 2 deletions src/components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,15 +249,19 @@ class Channels extends PureComponent<any, any> {
<div className="settings-header">
REMOTE CONTROLLER SETTINGS:
</div>
Remote Midi Input Port :
<div className="settings-input-field">
Remote Midi Input Port :
</div>
<Select
styles={selectorColorStyles}
value={{label: this.state.settings.remoteFaderMidiInputPort, value: this.state.settings.remoteFaderMidiInputPort}}
onChange={this.handleMidiInputPort}
options={this.remoteFaderMidiInputPortList}
/>
<br/>
Remote Midi Output Port :
<div className="settings-input-field">
Remote Midi Output Port :
</div>
<Select
styles={selectorColorStyles}
value={{label: this.state.settings.remoteFaderMidiOutputPort, value: this.state.settings.remoteFaderMidiOutputPort}}
Expand Down

0 comments on commit 386d496

Please sign in to comment.