Commit db2adfd7 authored by Elisabeth Reuhl's avatar Elisabeth Reuhl
Browse files

Graph: correct wrong selection in previous commit

parent ad03c63d
......@@ -147,8 +147,8 @@ export const Graph = (props) => {
.call(zimzoom);
};
const startingZoom = (minZoom) => {
svg.select(".graphGroup")
const startingZoom = () => {
svg
.transition()
.duration(1500)
.call(zimzoom.scaleTo, minZoom);
......@@ -223,7 +223,7 @@ export const Graph = (props) => {
//apply manual zoom
startingZoom(minZoom);
startingZoom();
initZoom();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment