send continous through middleware & comments

This commit is contained in:
Colin Megill
2017-12-12 20:33:23 -08:00
parent fd93349515
commit 191615b62b
2 changed files with 42 additions and 20 deletions
+2 -1
View File
@@ -42,11 +42,12 @@ const Controls = (state = {
console.log("controls reducer", action)
return Object.assign({}, state, {
continuousSelection: action.data,
currentCellSelection: action.newSelection /* this comes from middleware */
});
}
case "graph brush selection change":
return Object.assign({}, state, {
graphBrushSelection: action.brushCoords, /* this has already been applied in middleware but store it for next time */
graphBrushSelection: action.brushCoords, /* this has already been applied in middleware but store it for next time */
currentCellSelection: action.newSelection /* this comes from middleware */
})
case "graph brush deselect":