From 8101a351dbbf269b92b525e885e4dda5cdd51c2a Mon Sep 17 00:00:00 2001 From: David Luzar Date: Fri, 18 Aug 2023 00:28:26 +0200 Subject: [PATCH] fix: resetting deleted elements on duplication (#6906) --- src/components/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/App.tsx b/src/components/App.tsx index dad7a7b0..a975b892 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -5868,7 +5868,7 @@ class App extends React.Component { .map((element) => element.id), ); - const elements = this.scene.getNonDeletedElements(); + const elements = this.scene.getElementsIncludingDeleted(); for (const element of elements) { if (