fix: Alt-duplication doesn't place the duplicate at the last moment where Alt is pressed

fix: Shift + Alt

fix: Test

chore: Revert to master

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

fix: Arrow re-draw

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
Mark Tolmacs
2025-10-11 14:16:51 +02:00
parent 5fffc4743f
commit 314cd356bc

View File

@@ -8865,6 +8865,15 @@ class App extends React.Component<AppProps, AppState> {
}));
this.scene.replaceAllElements(elementsWithIndices);
elementsWithIndices.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);
});