mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix pull conn active
This commit is contained in:
parent
42a5217893
commit
6641f0dea0
|
@ -1285,8 +1285,6 @@ export default mixins(
|
||||||
};
|
};
|
||||||
|
|
||||||
this.instance.bind('connectionAborted', (connection) => {
|
this.instance.bind('connectionAborted', (connection) => {
|
||||||
this.pullConnActive = false;
|
|
||||||
|
|
||||||
if (this.dropPrevented) {
|
if (this.dropPrevented) {
|
||||||
this.dropPrevented = false;
|
this.dropPrevented = false;
|
||||||
return;
|
return;
|
||||||
|
@ -1512,6 +1510,7 @@ export default mixins(
|
||||||
};
|
};
|
||||||
|
|
||||||
const onMouseUp = (e: MouseEvent) => {
|
const onMouseUp = (e: MouseEvent) => {
|
||||||
|
this.pullConnActive = false;
|
||||||
this.newNodeInsertPosition = this.getMousePositionWithinNodeView(e);
|
this.newNodeInsertPosition = this.getMousePositionWithinNodeView(e);
|
||||||
window.removeEventListener('mousemove', onMouseMove);
|
window.removeEventListener('mousemove', onMouseMove);
|
||||||
window.removeEventListener('mouseup', onMouseUp);
|
window.removeEventListener('mouseup', onMouseUp);
|
||||||
|
|
Loading…
Reference in a new issue