mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-24 08:19:51 +00:00
make removable slots only the ones created from editor
This commit is contained in:
@@ -1245,6 +1245,19 @@
|
||||
"number"
|
||||
);
|
||||
|
||||
function length(v) {
|
||||
if(v && v.length != null)
|
||||
return Number(v.length);
|
||||
return 0;
|
||||
}
|
||||
|
||||
LiteGraph.wrapFunctionAsNode(
|
||||
"basic/not",
|
||||
function(a){ return !a; },
|
||||
[""],
|
||||
"boolean"
|
||||
);
|
||||
|
||||
function DownloadData() {
|
||||
this.size = [60, 30];
|
||||
this.addInput("data", 0 );
|
||||
|
||||
Reference in New Issue
Block a user