This commit is contained in:
Fine 2025-03-27 17:58:15 +08:00
parent 9f4b087ace
commit 71a173ec73

View File

@ -167,8 +167,8 @@ export default class ListGraph {
d3.select(this).classed("highlighted", true); d3.select(this).classed("highlighted", true);
d3.select("#trace-action-box") d3.select("#trace-action-box")
.style("display", "block") .style("display", "block")
.style("left", `${event.pageX - 70}px`) .style("left", `${event.pageX}px`)
.style("top", `${event.pageY + 30}px`); .style("top", `${event.pageY}px`);
t.selectedNode = d3.select(this); t.selectedNode = d3.select(this);
if (t.handleSelectSpan) { if (t.handleSelectSpan) {
t.handleSelectSpan(d); t.handleSelectSpan(d);