fix: allow inside binding via timeout if arrow has no startBinding
This commit is contained in:
parent
aa7351f649
commit
cba5d01460
@ -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
|
// We are hovering a bindable element
|
||||||
this.bindModeHandler = setTimeout(effector, BIND_MODE_TIMEOUT);
|
this.bindModeHandler = setTimeout(effector, BIND_MODE_TIMEOUT);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user