mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
Zoom in/out on entire SVG canvas.
This commit is contained in:
parent
0c8c69f04a
commit
07ccce9845
@ -126,7 +126,7 @@ function MeshGraph({ data }) {
|
||||
.zoom()
|
||||
.scaleExtent([1, 8])
|
||||
.on('zoom', (event) => {
|
||||
svg.selectAll('.links, .nodes').attr('transform', event.transform);
|
||||
svg.attr('transform', event.transform);
|
||||
});
|
||||
|
||||
/* Add SVG */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user