Virtual whiteboard for sketching hand-drawn like diagrams
fix: resetting deleted elements on duplication (#6906)
David Luzar8101a351dbbf
diff --git a/src/components/App.tsx b/src/components/App.tsxindex dad7a7b039..a975b89286 100644--- a/src/components/App.tsx+++ b/src/components/App.tsx@@ -5868,7 +5868,7 @@ class App extends React.Component<AppProps, AppState> {.map((element) => element.id),);- const elements = this.scene.getNonDeletedElements();+ const elements = this.scene.getElementsIncludingDeleted();for (const element of elements) {if (