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