mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-08-03 10:16:26 -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);
|
||||
}
|
||||
} else if (!hoveredElement) {
|
||||
if (this.bindModeHandler) {
|
||||
clearTimeout(this.bindModeHandler);
|
||||
this.bindModeHandler = null;
|
||||
}
|
||||
flushSync(() => {
|
||||
this.setState({
|
||||
bindMode: "orbit",
|
||||
|
Loading…
x
Reference in New Issue
Block a user