fix: Alt-duplication copied elements placement (#10152)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user