mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-27 14:50:20 +08:00
fix params in call to addSeedControlWidget
was: ...(this, this.widget, "randomize") isnow: (this, widget, "randomize")
This commit is contained in:
parent
3fe76483fb
commit
6566a4a33b
@ -301,10 +301,11 @@ app.registerExtension({
|
||||
widget = this.addWidget(type, widgetName /*"value"*/, null, () => { }, {});
|
||||
}
|
||||
|
||||
// addSeedControlWidget(node, seed.widget, "randomize");
|
||||
|
||||
// if (widget.type === "number") {
|
||||
// addSeedControlWidget(this, this.widget, "randomize");
|
||||
// }
|
||||
if (widget.type === "number") {
|
||||
addSeedControlWidget(this, widget, "randomize");
|
||||
}
|
||||
}
|
||||
|
||||
if (node?.widgets && widget) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user