mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-28 22:19:41 -08:00
hide overlay on connection
This commit is contained in:
parent
08a928225d
commit
6ebef7aafa
|
@ -1615,12 +1615,14 @@ export default mixins(
|
|||
connection.setConnector(CONNECTOR_TYPE_FLOWCHART);
|
||||
connection.setPaintStyle(CONNECTOR_PAINT_STYLE_PRIMARY);
|
||||
addOverlays(connection, CONNECTOR_ARROW_OVERLAYS);
|
||||
hideOverlay(connection, OVERLAY_DROP_NODE_ID);
|
||||
}
|
||||
else if (!elements && droppable) {
|
||||
droppable = false;
|
||||
connection.setConnector(CONNECTOR_TYPE_BEZIER);
|
||||
connection.setPaintStyle(CONNECTOR_PAINT_STYLE_DEFAULT);
|
||||
addOverlays(connection, CONNECTOR_ARROW_OVERLAYS);
|
||||
showOverlay(connection, OVERLAY_DROP_NODE_ID);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue