mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-27 14:50:20 +08:00
randomize is now default, seedControls are visible so long as seed is a widget
This commit is contained in:
parent
381976611c
commit
0575532c60
@ -287,7 +287,7 @@ app.registerExtension({
|
||||
widget.value = theirWidget.value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (widget.type === "combo") {
|
||||
addSeedControlWidget(this, widget, "randomize");
|
||||
}
|
||||
|
||||
@ -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";
|
||||
|
||||
@ -50,7 +50,7 @@ export function addSeedControlWidget(node, targetWidget, defaultValue = "randomi
|
||||
console.log("default (fail)");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
return seedControl;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user