randomize is now default, seedControls are visible so long as seed is a widget

This commit is contained in:
Julien Lubimiv 2023-03-30 02:30:53 -04:00
parent 381976611c
commit 0575532c60
3 changed files with 3 additions and 3 deletions

View File

@ -287,7 +287,7 @@ app.registerExtension({
widget.value = theirWidget.value;
}
}
if (widget.type === "combo") {
addSeedControlWidget(this, widget, "randomize");
}

View File

@ -771,7 +771,7 @@ class ComfyApp {
widget.value = widget.value.slice(7);
}
}
if (widget.name == "seed control after generating") {
if (widget.value == true) {
widget.value = "randomize";

View File

@ -50,7 +50,7 @@ export function addSeedControlWidget(node, targetWidget, defaultValue = "randomi
console.log("default (fail)");
}
};
return seedControl;
}