Skip to content

Commit

Permalink
Merge branch 'main' into checkbox-header-tooltip-bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nmgokhale authored May 23, 2024
2 parents bcaf785 + 6b0842b commit 3a63ad8
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2296,10 +2296,12 @@ export default class SVGCanvasRenderer {
hideEditIcon(spanObj) {
if (!this.mouseOverLabelEditIcon) {
const labelObj = spanObj.parentElement;
const foreignObj = labelObj.parentElement;
const nodeObj = foreignObj.parentElement;
const nodeGrpSel = d3.select(nodeObj);
nodeGrpSel.selectAll(".d3-label-edit-icon-group").remove();
if (labelObj) {
const foreignObj = labelObj.parentElement;
const nodeObj = foreignObj.parentElement;
const nodeGrpSel = d3.select(nodeObj);
nodeGrpSel.selectAll(".d3-label-edit-icon-group").remove();
}
}
}

Expand Down

0 comments on commit 3a63ad8

Please sign in to comment.