revert: remove bound-arrows from frames (#7190)

This commit is contained in:
David Luzar
2023-10-25 10:39:19 +02:00
committed by GitHub
parent 71ad3c5356
commit 104f64f1dc
7 changed files with 16 additions and 81 deletions

View File

@ -155,12 +155,7 @@ const duplicateElements = (
groupId,
).flatMap((element) =>
isFrameElement(element)
? [
...getFrameElements(elements, element.id, {
includeBoundArrows: true,
}),
element,
]
? [...getFrameElements(elements, element.id), element]
: [element],
);
@ -186,9 +181,7 @@ const duplicateElements = (
continue;
}
if (isElementAFrame) {
const elementsInFrame = getFrameElements(sortedElements, element.id, {
includeBoundArrows: true,
});
const elementsInFrame = getFrameElements(sortedElements, element.id);
elementsWithClones.push(
...markAsProcessed([