mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Fix bug: Undo multi element (#1461)
* Add failing test * Fix multi element undo * Update snapshots
This commit is contained in:
parent
b8a9ad208d
commit
9b7a743e8b
3 changed files with 145 additions and 39 deletions
|
@ -266,7 +266,7 @@ class App extends React.Component<any, AppState> {
|
|||
}
|
||||
this.setState((state) => ({
|
||||
...res.appState,
|
||||
editingElement: editingElement || state.editingElement,
|
||||
editingElement: editingElement || res.appState?.editingElement || null,
|
||||
isCollaborating: state.isCollaborating,
|
||||
collaborators: state.collaborators,
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue