Skip to content

Commit

Permalink
fix: assign aux to fader use auxIndex instead of channel
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Dec 19, 2019
1 parent 5177dde commit a9e3232
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion server/MainThreadHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class MainThreadHandlers {
global.storeRedux.dispatch({
type: SET_FADER_MONITOR,
channel: payload.faderIndex,
auxIndex: payload.value
auxIndex: payload.auxIndex
});
global.socketServer.emit('set-store', global.storeRedux.getState())
})
Expand Down
1 change: 0 additions & 1 deletion src/components/ChannelMonitorOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import '../assets/css/ChannelMonitorOptions.css';
import { Store } from 'redux';
import { connect } from 'react-redux';
import { TOGGLE_SHOW_MONITOR_OPTIONS } from '../../server/reducers/settingsActions'
import { SET_FADER_MONITOR } from '../../server/reducers/faderActions';
import { ISettings } from '../../server/reducers/settingsReducer';
import { SOCKET_SET_AUX_LEVEL, SOCKET_SET_FADER_MONITOR } from '../../server/constants/SOCKET_IO_DISPATCHERS';

Expand Down

0 comments on commit a9e3232

Please sign in to comment.