Skip to content

Commit 7224b3a

Browse files
committed
[#28] fix callgraph hover
1 parent d173e12 commit 7224b3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/ProfilerPageCallGraph/ProfilerPageCallGraph.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,13 @@ export default defineComponent({
9393
return null;
9494
}
9595
96-
return found[1] || null;
96+
return found[0] || null;
9797
},
9898
nodeHandler(): void {
9999
selectAll("g.node")
100100
.on("mouseover", (e, tag) => {
101101
const edge = this.findEdge(tag.key);
102+
102103
if (!edge) {
103104
return;
104105
}

0 commit comments

Comments
 (0)