1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00

fix: resetting deleted elements on duplication (#6906)

This commit is contained in:
David Luzar 2023-08-18 00:28:26 +02:00 committed by GitHub
parent 49e9a2ab33
commit 8101a351db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 (