mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-30 07:08:11 +08:00
opacity
This commit is contained in:
Vendored
+5
-1
@@ -8,7 +8,7 @@ const Controls = (state = {
|
||||
categoricalAsBooleansMap: null,
|
||||
colorAccessor: null,
|
||||
colorScale: null,
|
||||
opacityForDeselectedCells: .5,
|
||||
opacityForDeselectedCells: .2,
|
||||
graphBrushSelection: null,
|
||||
continuousSelection: null,
|
||||
axesHaveBeenDrawn: false,
|
||||
@@ -80,6 +80,10 @@ const Controls = (state = {
|
||||
graphBrushSelection: null,
|
||||
currentCellSelection: action.newSelection /* this comes from middleware */
|
||||
})
|
||||
case "change opacity deselected cells in 2d graph background":
|
||||
return Object.assign({}, state, {
|
||||
opacityForDeselectedCells: action.data,
|
||||
})
|
||||
case "categorical metadata filter select":
|
||||
return Object.assign({}, state, {
|
||||
categoricalAsBooleansMap: action.newCategoricalAsBooleansMap, /* this comes from middleware */
|
||||
|
||||
Reference in New Issue
Block a user