mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
hide arrow when items
This commit is contained in:
parent
bf3782c715
commit
9e144c891b
|
@ -1741,13 +1741,9 @@ export default mixins(
|
||||||
}) as Connection[];
|
}) as Connection[];
|
||||||
|
|
||||||
outgoing.forEach((connection: Connection) => {
|
outgoing.forEach((connection: Connection) => {
|
||||||
const arrow = connection.getOverlay('midpoint-arrow');
|
|
||||||
if (arrow) {
|
|
||||||
arrow.setLocation(0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
connection.removeOverlay('output-items-label');
|
connection.removeOverlay('output-items-label');
|
||||||
connection.setPaintStyle({stroke: getStyleTokenValue('--color-foreground-dark')});
|
connection.setPaintStyle({stroke: getStyleTokenValue('--color-foreground-dark')});
|
||||||
|
showOrHideMidpointArrow(connection);
|
||||||
});
|
});
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
@ -1841,10 +1837,7 @@ export default mixins(
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const arrow = connections[0].getOverlay('midpoint-arrow');
|
hideMidpointArrow(conn);
|
||||||
if (arrow) {
|
|
||||||
arrow.setLocation(0.6);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue