Adjusted elbow in-shape binding strategy
This commit is contained in:
parent
fbc5e4a03d
commit
b2799d0a15
@ -964,6 +964,9 @@ export const bindPointToSnapToElementOutline = (
|
||||
otherPoint,
|
||||
),
|
||||
),
|
||||
).sort(
|
||||
(g, h) =>
|
||||
pointDistanceSq(g, adjacentPoint) - pointDistanceSq(h, adjacentPoint),
|
||||
)[0];
|
||||
} else {
|
||||
intersection = intersectElementWithLineSegment(
|
||||
|
Loading…
x
Reference in New Issue
Block a user