back to where I'm at

This commit is contained in:
FizzleDorf 2023-03-30 23:02:09 -04:00
parent 521a0eedb6
commit c8e0185921
3 changed files with 0 additions and 12 deletions

Binary file not shown.

View File

@ -288,18 +288,10 @@ app.registerExtension({
widget.value = theirWidget.value; widget.value = theirWidget.value;
} }
} }
<<<<<<< HEAD
if (widget.type === "combo") { if (widget.type === "combo") {
addSeedControlWidget(this, widget, "randomize"); addSeedControlWidget(this, widget, "randomize");
} }
=======
if (widget.type === "combo")
addSeedControlWidget(this, widget, "randomize");
>>>>>>> fbe3df1ec837d298aaab68bab81c967182d2bab6
// When our value changes, update other widgets to reflect our changes // When our value changes, update other widgets to reflect our changes
// e.g. so LoadImage shows correct image // e.g. so LoadImage shows correct image
const callback = widget.callback; const callback = widget.callback;

View File

@ -54,11 +54,7 @@ export function addSeedControlWidget(node, targetWidget, defaultValue = "randomi
} }
function seedWidget(node, inputName, inputData) { function seedWidget(node, inputName, inputData) {
<<<<<<< HEAD
const seed = ComfyWidgets.COMBO(node, inputName, inputData);
=======
const seed = ComfyWidgets.INT(node, inputName, inputData); const seed = ComfyWidgets.INT(node, inputName, inputData);
>>>>>>> fbe3df1ec837d298aaab68bab81c967182d2bab6
const seedControl = addSeedControlWidget(node, seed.widget, "randomize"); const seedControl = addSeedControlWidget(node, seed.widget, "randomize");
seed.widget.linkedWidgets = [seedControl]; seed.widget.linkedWidgets = [seedControl];