mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
parent
47ee8a0094
commit
21815fb930
1 changed files with 6 additions and 3 deletions
|
@ -4737,10 +4737,13 @@ class App extends React.Component<AppProps, AppState> {
|
|||
this.store.shouldCaptureIncrement();
|
||||
}
|
||||
|
||||
this.setState({
|
||||
newElement: null,
|
||||
editingTextElement: null,
|
||||
flushSync(() => {
|
||||
this.setState({
|
||||
newElement: null,
|
||||
editingTextElement: null,
|
||||
});
|
||||
});
|
||||
|
||||
if (this.state.activeTool.locked) {
|
||||
setCursorForShape(this.interactiveCanvas, this.state);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue