diff options
-rw-r--r-- | web/src/containers/jobgraph/JobGraphDisplay.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/src/containers/jobgraph/JobGraphDisplay.jsx b/web/src/containers/jobgraph/JobGraphDisplay.jsx index 9bd67e7d2..e5cff9cbc 100644 --- a/web/src/containers/jobgraph/JobGraphDisplay.jsx +++ b/web/src/containers/jobgraph/JobGraphDisplay.jsx @@ -77,6 +77,10 @@ function GraphViz(props) { gv._originalTransform.y = val } + // Disable scroll wheel zooming because it interferes with window + // scrolling + gv.zoomSelection().on('wheel.zoom', null) + // Mutate the links to be internal links d3.select('.zuul-job-graph').selectAll('.node a').on('click', event => { d3.event.preventDefault() |