mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-23 21:57:01 +08:00
Remove redundant code
This commit is contained in:
parent
0814cae77e
commit
2584d7f654
@ -1255,8 +1255,8 @@ export class ComfyApp {
|
|||||||
} else {
|
} else {
|
||||||
// Node connection inputs
|
// Node connection inputs
|
||||||
if (inputData[1]?.multiple) {
|
if (inputData[1]?.multiple) {
|
||||||
extraInfo.multiple = inputData[1].multiple;
|
extraInfo.multiple = true;
|
||||||
extraInfo.shape = inputData[1].multiple ? LiteGraph.GRID_SHAPE : LiteGraph.CIRCLE_SHAPE;
|
extraInfo.shape = LiteGraph.GRID_SHAPE;
|
||||||
}
|
}
|
||||||
this.addInput(inputName, type, extraInfo);
|
this.addInput(inputName, type, extraInfo);
|
||||||
widgetCreated = false;
|
widgetCreated = false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user