mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
hide items on init
This commit is contained in:
parent
fd886b585a
commit
0b93009e02
|
@ -266,6 +266,12 @@ export const showOrHideItemsLabel = (connection: Connection) => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const actionsOverlay = getOverlay(connection, OVERLAY_CONNECTION_ACTIONS_ID);
|
||||||
|
if (actionsOverlay && actionsOverlay.visible) {
|
||||||
|
overlay.setVisible(false);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const [diffX, diffY] = getConnectorLengths(connection);
|
const [diffX, diffY] = getConnectorLengths(connection);
|
||||||
|
|
||||||
if (diffX < MIN_X_TO_SHOW_OUTPUT_LABEL && diffY < MIN_Y_TO_SHOW_OUTPUT_LABEL) {
|
if (diffX < MIN_X_TO_SHOW_OUTPUT_LABEL && diffY < MIN_Y_TO_SHOW_OUTPUT_LABEL) {
|
||||||
|
|
Loading…
Reference in a new issue