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, isBoundToContainer,
isElbowArrow, isElbowArrow,
isFixedPointBinding, isFixedPointBinding,
isFrameLikeElement,
isLinearElement, isLinearElement,
isRectangularElement, isRectangularElement,
isTextElement, isTextElement,
@ -575,7 +576,7 @@ export const getHoveredElementForBinding = (
zoom, zoom,
// disable fullshape snapping for frame elements so we // disable fullshape snapping for frame elements so we
// can bind to frame children // can bind to frame children
fullShape, fullShape && !isFrameLikeElement(element),
), ),
); );

Loading…
Cancel
Save