mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
hide arrow on pull
This commit is contained in:
parent
7abee4889d
commit
15a910c5cb
|
@ -546,6 +546,7 @@ export const showDropConnectionState = (connection: Connection, targetPos: XYPos
|
|||
connection.connector.setTargetPos(targetPos);
|
||||
connection.setPaintStyle(CONNECTOR_PAINT_STYLE_PRIMARY);
|
||||
hideOverlay(connection, OVERLAY_DROP_NODE_ID);
|
||||
showOverlay(connection, OVERLAY_ENDPOINT_ARROW_ID);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -554,6 +555,7 @@ export const showPullConnectionState = (connection: Connection) => {
|
|||
connection.connector.resetTargetPos();
|
||||
connection.setPaintStyle(CONNECTOR_PAINT_STYLE_DEFAULT);
|
||||
showOverlay(connection, OVERLAY_DROP_NODE_ID);
|
||||
hideOverlay(connection, OVERLAY_ENDPOINT_ARROW_ID);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -561,6 +563,7 @@ export const resetConnectionAfterPull = (connection: Connection) => {
|
|||
if (connection && connection.connector) {
|
||||
connection.connector.resetTargetPos();
|
||||
connection.setPaintStyle(CONNECTOR_PAINT_STYLE_DEFAULT);
|
||||
showOverlay(connection, OVERLAY_ENDPOINT_ARROW_ID);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue