brushable histogram brush selection responds to state updates (#670)

* add continuousSelection reducer and make histo respond to state changes

* correctly handle uninitialized state for brush move

* PR review tweaks
This commit is contained in:
Bruce Martin
2019-03-25 15:02:39 -07:00
committed by GitHub
parent df46db965a
commit 153f240c43
3 changed files with 91 additions and 16 deletions
+3
View File
@@ -7,6 +7,7 @@ import config from "./config";
import universe from "./universe";
import world from "./world";
import categoricalSelection from "./categoricalSelection";
import continuousSelection from "./continuousSelection";
import crossfilter from "./crossfilter";
import colors from "./colors";
import differential from "./differential";
@@ -63,6 +64,7 @@ const Reducer = undoable(
["universe", universe],
["world", world],
["categoricalSelection", categoricalSelection],
["continuousSelection", continuousSelection],
["crossfilter", crossfilter],
["colors", colors],
["controls", controls],
@@ -73,6 +75,7 @@ const Reducer = undoable(
[
"world",
"categoricalSelection",
"continuousSelection",
"crossfilter",
"colors",
"controls",