fix: elbow arrows do not work within frames (issue: #8964) (#8969)

check for !isFrameLikeElement
pull/8979/head
zsviczian 4 weeks ago committed by GitHub
parent b63689c230
commit 3b9ffd9586
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -40,6 +40,7 @@ import {
isBoundToContainer,
isElbowArrow,
isFixedPointBinding,
isFrameLikeElement,
isLinearElement,
isRectangularElement,
isTextElement,
@ -575,7 +576,7 @@ export const getHoveredElementForBinding = (
zoom,
// disable fullshape snapping for frame elements so we
// can bind to frame children
fullShape,
fullShape && !isFrameLikeElement(element),
),
);

Loading…
Cancel
Save