mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-24 08:19:51 +00:00
fixes
This commit is contained in:
@@ -7755,6 +7755,13 @@ LGraphNode.prototype.executeAction = function(action)
|
||||
|
||||
var connType = connInOrOut.type;
|
||||
var connDir = connInOrOut.dir;
|
||||
if(connDir == null)
|
||||
{
|
||||
if (this.connecting_output)
|
||||
connDir = this.connecting_node.horizontal ? LiteGraph.DOWN : LiteGraph.RIGHT;
|
||||
else
|
||||
connDir = this.connecting_node.horizontal ? LiteGraph.UP : LiteGraph.LEFT;
|
||||
}
|
||||
var connShape = connInOrOut.shape;
|
||||
|
||||
switch (connType) {
|
||||
@@ -7774,10 +7781,7 @@ LGraphNode.prototype.executeAction = function(action)
|
||||
false,
|
||||
null,
|
||||
link_color,
|
||||
connDir ||
|
||||
(this.connecting_node.horizontal
|
||||
? LiteGraph.DOWN
|
||||
: LiteGraph.RIGHT),
|
||||
connDir,
|
||||
LiteGraph.CENTER
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user