mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-01 13:38:11 +08:00
menubar (#804)
* menubar 1 * zoom switching * centering, pixel perfect canvas * remove dead args and code * clipping * remove log * if * connect props * lint * undo * logo left, componetize * graph back to full height * shadow to top * do not prematurely call event handlers during render * change test to deal with async histogram creation * left section padding * lint * adjust graph to account for top bar, * lasso tests * refine histogram tests * remove testing (onlys)
This commit is contained in:
committed by
Charlotte Weaver
parent
eac514e04d
commit
6aeefb0fe6
Vendored
+6
-1
@@ -16,7 +16,7 @@ const Controls = (
|
||||
diffexpGenes: [],
|
||||
|
||||
resettingInterface: false,
|
||||
|
||||
graphInteractionMode: "select",
|
||||
opacityForDeselectedCells: 0.2,
|
||||
scatterplotXXaccessor: null, // just easier to read
|
||||
scatterplotYYaccessor: null,
|
||||
@@ -138,6 +138,11 @@ const Controls = (
|
||||
/*******************************
|
||||
User Events
|
||||
*******************************/
|
||||
case "change graph interaction mode":
|
||||
return {
|
||||
...state,
|
||||
graphInteractionMode: action.data
|
||||
};
|
||||
case "change opacity deselected cells in 2d graph background":
|
||||
return {
|
||||
...state,
|
||||
|
||||
@@ -74,7 +74,8 @@ const saveOnActions = new Set([
|
||||
"set World to current selection",
|
||||
"set clip quantiles",
|
||||
|
||||
"set layout choice"
|
||||
"set layout choice",
|
||||
"change graph interaction mode"
|
||||
]);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user