diff --git a/client/components/ChanStrip.tsx b/client/components/ChanStrip.tsx index c6a62351..ae434288 100644 --- a/client/components/ChanStrip.tsx +++ b/client/components/ChanStrip.tsx @@ -20,7 +20,7 @@ import { SOCKET_SET_HIGH, SOCKET_SET_AUX_LEVEL, SOCKET_SET_INPUT_GAIN, - SOCKET_SET_INPUT_SELECTOR + SOCKET_SET_INPUT_SELECTOR, } from '../../server/constants/SOCKET_IO_DISPATCHERS' import CcgChannelInputSettings from './CcgChannelSettings' import ReductionMeter from './ReductionMeter' @@ -74,7 +74,7 @@ class ChanStrip extends React.PureComponent< channel: -1, }) } - handleInputSelect(selected:number) { + handleInputSelect(selected: number) { window.socketIoClient.emit(SOCKET_SET_INPUT_SELECTOR, { faderIndex: this.props.faderIndex, selected: selected, @@ -147,60 +147,69 @@ class ChanStrip extends React.PureComponent< }) } + inputSelectorButton(index: number) { + return ( + + ) + } + inputSelector() { - return( + return (