mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-16 00:12:33 +08:00
Fix indentation
This commit is contained in:
parent
f3da9e2faa
commit
9bc45a99ab
@ -1389,7 +1389,7 @@ export class ComfyApp {
|
|||||||
for (const inputName in inputs) {
|
for (const inputName in inputs) {
|
||||||
const inputData = inputs[inputName];
|
const inputData = inputs[inputName];
|
||||||
const type = inputData[0];
|
const type = inputData[0];
|
||||||
const extraInfo = {};
|
const extraInfo = {};
|
||||||
|
|
||||||
let widgetCreated = true;
|
let widgetCreated = true;
|
||||||
const widgetType = getWidgetType(inputData, inputName);
|
const widgetType = getWidgetType(inputData, inputName);
|
||||||
@ -1401,11 +1401,11 @@ export class ComfyApp {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Node connection inputs
|
// Node connection inputs
|
||||||
if (inputData[1]?.multiple) {
|
if (inputData[1]?.multiple) {
|
||||||
extraInfo.multiple = true;
|
extraInfo.multiple = true;
|
||||||
extraInfo.shape = LiteGraph.GRID_SHAPE;
|
extraInfo.shape = LiteGraph.GRID_SHAPE;
|
||||||
}
|
}
|
||||||
this.addInput(inputName, type, extraInfo);
|
this.addInput(inputName, type, extraInfo);
|
||||||
widgetCreated = false;
|
widgetCreated = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user