mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-02-18 13:29:36 +01:00
don't pass deleted elements to UI (#1029)
This commit is contained in:
parent
71c31d9b8d
commit
f6b36519f1
@ -810,7 +810,9 @@ export class App extends React.Component<any, AppState> {
|
||||
appState={this.state}
|
||||
setAppState={this.setAppState}
|
||||
actionManager={this.actionManager}
|
||||
elements={globalSceneState.getAllElements()}
|
||||
elements={globalSceneState.getAllElements().filter(element => {
|
||||
return !element.isDeleted;
|
||||
})}
|
||||
setElements={this.setElements}
|
||||
language={getLanguage()}
|
||||
onRoomCreate={this.createRoom}
|
||||
|
Loading…
Reference in New Issue
Block a user