mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
fix: resetting deleted elements on duplication (#6906)
This commit is contained in:
parent
49e9a2ab33
commit
8101a351db
1 changed files with 1 additions and 1 deletions
|
@ -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 (
|
||||||
|
|
Loading…
Add table
Reference in a new issue