mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-14 09:45:27 +01:00
fix: resetting deleted elements on duplication (#6906)
This commit is contained in:
@@ -5868,7 +5868,7 @@ class App extends React.Component<AppProps, AppState> {
|
|||||||
.map((element) => element.id),
|
.map((element) => element.id),
|
||||||
);
|
);
|
||||||
|
|
||||||
const elements = this.scene.getNonDeletedElements();
|
const elements = this.scene.getElementsIncludingDeleted();
|
||||||
|
|
||||||
for (const element of elements) {
|
for (const element of elements) {
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user