Skip to content

Commit 08b424e

Browse files
authored
Add an animation to reset button (#8228)
1 parent e9aa3c2 commit 08b424e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Aspire.Dashboard/wwwroot/js/app-resourcegraph.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class ResourceGraph {
128128
}
129129

130130
resetZoomAndPan() {
131-
this.svg.call(this.zoom.transform, d3.zoomIdentity);
131+
this.svg.transition().call(this.zoom.transform, d3.zoomIdentity);
132132
}
133133

134134
zoomIn() {

0 commit comments

Comments
 (0)