fix params in call to addSeedControlWidget

was: ...(this, this.widget, "randomize")
isnow: (this, widget, "randomize")
This commit is contained in:
flyingshutter 2023-03-31 20:23:46 +02:00
parent 3fe76483fb
commit 6566a4a33b

View File

@ -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) {