Skip to content

Commit

Permalink
Remove the margin when alignRight
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Feb 27, 2024
1 parent 3fa92ed commit 3b16f4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/components/TreePanel/renderTreeCanvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ export function renderTreeLabels({
}
ctx.fillText(displayName, offset, yp)
clickMap?.insert({
minX: treeAreaWidth - width + ml,
maxX: treeAreaWidth + ml,
minX: treeAreaWidth - width,
maxX: treeAreaWidth,
minY: yp - height,
maxY: yp,
name,
Expand Down

0 comments on commit 3b16f4f

Please sign in to comment.