7
mirror of https://github.com/EEVengers/ThunderScope.git synced 2025-04-11 23:19:16 +00:00

added comment

This commit is contained in:
Jason Bonnell 2021-03-25 15:00:34 -04:00
parent dba006e124
commit 2085598aa0

View File

@ -25,7 +25,8 @@ class TriggerWidget extends React.Component<any, any> {
Plumber.getInstance().handleSetChState(setChState);
this.props.dispatch({type: 'vertical/setChannelOrder', payload: setChState.chOrder});
this.props.dispatch({type: 'trigger/changeChannel', payload: channelNumber});
this.props.dispatch({type: 'vertical/changeChannelStatus', payload: channelNumber - 1});
// this.props.dispatch({type: 'vertical/changeChannelStatus', payload: channelNumber - 1});
// This was making it so that clicking on Trigger will activate that channel in the UX. We do not want the UX to show this, only the backend needs to know.
}
// Trigger Type