mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-30 16:20:17 +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, () => { }, {});
|
widget = this.addWidget(type, widgetName /*"value"*/, null, () => { }, {});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// addSeedControlWidget(node, seed.widget, "randomize");
|
||||||
|
|
||||||
// if (widget.type === "number") {
|
if (widget.type === "number") {
|
||||||
// addSeedControlWidget(this, this.widget, "randomize");
|
addSeedControlWidget(this, widget, "randomize");
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (node?.widgets && widget) {
|
if (node?.widgets && widget) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user