Adjusted elbow in-shape binding strategy
This commit is contained in:
parent
dca9fbe306
commit
03b91deb4a
@ -965,6 +965,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