mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-08-03 18:27:04 -04:00
Small insurance fix
This commit is contained in:
parent
f0a329e20f
commit
8ec0f36578
@ -6180,6 +6180,10 @@ class App extends React.Component<AppProps, AppState> {
|
|||||||
}, BIND_MODE_TIMEOUT);
|
}, BIND_MODE_TIMEOUT);
|
||||||
}
|
}
|
||||||
} else if (!hoveredElement) {
|
} else if (!hoveredElement) {
|
||||||
|
if (this.bindModeHandler) {
|
||||||
|
clearTimeout(this.bindModeHandler);
|
||||||
|
this.bindModeHandler = null;
|
||||||
|
}
|
||||||
flushSync(() => {
|
flushSync(() => {
|
||||||
this.setState({
|
this.setState({
|
||||||
bindMode: "orbit",
|
bindMode: "orbit",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user