mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-12 00:34:21 +01:00
fix: allow inside binding via timeout if arrow has no startBinding
This commit is contained in:
@@ -1006,7 +1006,10 @@ class App extends React.Component<AppProps, AppState> {
|
||||
});
|
||||
});
|
||||
}
|
||||
} else if (!this.bindModeHandler && !this.state.newElement) {
|
||||
} else if (
|
||||
!this.bindModeHandler &&
|
||||
(!this.state.newElement || !arrow.startBinding)
|
||||
) {
|
||||
// We are hovering a bindable element
|
||||
this.bindModeHandler = setTimeout(effector, BIND_MODE_TIMEOUT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user