mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +00:00
Merge remote-tracking branch 'refs/remotes/jagenjo/master'
This commit is contained in:
4021
build/litegraph.js
4021
build/litegraph.js
File diff suppressed because it is too large
Load Diff
6942
build/litegraph.min.js
vendored
6942
build/litegraph.min.js
vendored
File diff suppressed because it is too large
Load Diff
@@ -2414,7 +2414,6 @@ LGraphNode.prototype.disconnectInput = function( slot )
|
||||
for(var i = 0, l = output.links.length; i < l; i++)
|
||||
{
|
||||
var link_id = output.links[i];
|
||||
var link_info = this.graph.links[ link_id ];
|
||||
if( link_info.target_id == this.id )
|
||||
{
|
||||
output.links.splice(i,1);
|
||||
@@ -2422,6 +2421,8 @@ LGraphNode.prototype.disconnectInput = function( slot )
|
||||
}
|
||||
}
|
||||
|
||||
delete this.graph.links[ link_id ]; //remove from the pool
|
||||
|
||||
if( this.onConnectionsChange )
|
||||
this.onConnectionsChange( LiteGraph.INPUT, slot, false, link_info, input );
|
||||
if( target_node.onConnectionsChange )
|
||||
|
||||
@@ -313,7 +313,7 @@ LiteGraph.registerNodeType("visualization/graph", {
|
||||
function ImageFade()
|
||||
{
|
||||
this.addInputs([["img1","image"],["img2","image"],["fade","number"]]);
|
||||
this.addInput("","image");
|
||||
this.addOutput("","image");
|
||||
this.properties = {fade:0.5,width:512,height:512};
|
||||
}
|
||||
|
||||
@@ -714,4 +714,4 @@ ImageWebcam.prototype.onDrawBackground = function(ctx)
|
||||
LiteGraph.registerNodeType("graphics/webcam", ImageWebcam );
|
||||
|
||||
|
||||
})();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user