parent
47ee8a0094
commit
21815fb930
@ -4737,10 +4737,13 @@ class App extends React.Component<AppProps, AppState> {
|
|||||||
this.store.shouldCaptureIncrement();
|
this.store.shouldCaptureIncrement();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flushSync(() => {
|
||||||
this.setState({
|
this.setState({
|
||||||
newElement: null,
|
newElement: null,
|
||||||
editingTextElement: null,
|
editingTextElement: null,
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
if (this.state.activeTool.locked) {
|
if (this.state.activeTool.locked) {
|
||||||
setCursorForShape(this.interactiveCanvas, this.state);
|
setCursorForShape(this.interactiveCanvas, this.state);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user