fix: Alt-duplication copied elements placement (#10152)

This commit is contained in:
Márk Tolmács
2025-11-10 22:31:08 +01:00
committed by GitHub
parent 8fb16669ab
commit dc2f25c14a
+9
View File
@@ -8846,6 +8846,15 @@ class App extends React.Component<AppProps, AppState> {
}));
this.scene.replaceAllElements(elementsWithIndices);
selectedElements.forEach((element) => {
if (
isBindableElement(element) &&
element.boundElements?.some((other) => other.type === "arrow")
) {
updateBoundElements(element, this.scene);
}
});
this.maybeCacheVisibleGaps(event, selectedElements, true);
this.maybeCacheReferenceSnapPoints(event, selectedElements, true);
});