This commit is contained in:
Colin Megill
2018-01-16 16:26:40 -08:00
parent ba9d7b9130
commit e5253d2ee0
3 changed files with 27 additions and 3 deletions
+2 -1
View File
@@ -58,6 +58,7 @@ export const drawGraph = (
graphBrushSelection,
colorScale,
graphMap, /* tmp remove when structure exists on server */
opacityForDeselectedCells,
) => {
/* clear canvas */
@@ -112,7 +113,7 @@ export const drawGraph = (
if (_currentCellSelectionMap[p[0]]["__selected__"]) {
context.globalAlpha = 1;
} else {
context.globalAlpha = .2;
context.globalAlpha = opacityForDeselectedCells;
}
// if (i < 20) {