Skip to content

Commit 0cd3c2d

Browse files
committed
Reset zoomedNodeValue when re-rendering flamegraph
1 parent 0f5de9e commit 0cd3c2d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/profiling/sampling/_flamegraph_assets/flamegraph.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,7 @@ function renderFlamegraph(chart, data) {
640640
d3.select("#chart").datum(data).call(chart);
641641
window.flamegraphChart = chart;
642642
window.flamegraphData = data;
643+
zoomedNodeValue = null;
643644
populateStats(data);
644645
}
645646

0 commit comments

Comments
 (0)