Small insurance fix

This commit is contained in:
Mark Tolmacs 2025-08-02 10:47:47 +02:00
parent f0a329e20f
commit 8ec0f36578
No known key found for this signature in database

View File

@ -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",