|
|
@ -4737,10 +4737,13 @@ class App extends React.Component<AppProps, AppState> {
|
|
|
|
this.store.shouldCaptureIncrement();
|
|
|
|
this.store.shouldCaptureIncrement();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
flushSync(() => {
|
|
|
|
newElement: null,
|
|
|
|
this.setState({
|
|
|
|
editingTextElement: null,
|
|
|
|
newElement: null,
|
|
|
|
|
|
|
|
editingTextElement: null,
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
if (this.state.activeTool.locked) {
|
|
|
|
if (this.state.activeTool.locked) {
|
|
|
|
setCursorForShape(this.interactiveCanvas, this.state);
|
|
|
|
setCursorForShape(this.interactiveCanvas, this.state);
|
|
|
|
}
|
|
|
|
}
|
|
|
|