Viewport fills entire screen (#430)

* full pane webgl and svg

* fixes for full pane selection and centering

* force graph remount, clear brush state
This commit is contained in:
Colin Megill
2018-11-13 11:45:38 -05:00
committed by GitHub
parent 9decf134e0
commit dbff824854
6 changed files with 45 additions and 31 deletions
+8 -1
View File
@@ -54,6 +54,7 @@ const Controls = (
scatterplotXXaccessor: null, // just easier to read
scatterplotYYaccessor: null,
axesHaveBeenDrawn: false,
graphRenderCounter: 0 /* integer as <Component key={graphRenderCounter} - a change in key forces a remount */,
__storedStateForCelllist1__: null /* will need procedural control of brush ie., brush.extent https://bl.ocks.org/micahstubbs/3cda05ca68cba260cb81 */,
__storedStateForCelllist2__: null
},
@@ -410,7 +411,13 @@ const Controls = (
...state,
opacityForDeselectedCells: action.data
};
case "increment graph render counter": {
const c = state.graphRenderCounter + 1;
return {
...state,
graphRenderCounter: c
};
}
/*******************************
Categorical metadata
*******************************/