mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08:00
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user