diff --git a/src/reducers/controls.js b/src/reducers/controls.js index 1d06bfb0..0aebfc48 100644 --- a/src/reducers/controls.js +++ b/src/reducers/controls.js @@ -1,11 +1,17 @@ const Controls = (state = { color: null, + continuousSelection: null, }, action) => { switch (action.type) { case "color changed": return Object.assign({}, state, { color: action.data, }); + case "continuous selection using parallel coords brushing": { + return Object.assign({}, state, { + continuousSelection: action.data, + }); + } default: return state; }