mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-28 15:20:25 +08:00
overlooked min/max for unused code
This commit is contained in:
parent
9f5b8cf664
commit
33d301ba74
@ -32,7 +32,7 @@ export function addSeedControlWidget(node, targetWidget, defaultValue = "randomi
|
|||||||
// limit max to something that javascript can handle
|
// limit max to something that javascript can handle
|
||||||
max = Math.min(1125899906842624, max);
|
max = Math.min(1125899906842624, max);
|
||||||
}
|
}
|
||||||
/*if (targetWidget.value >= 1125899906842624) { //loop to lowest and continue batch
|
/*if (max) { //loop to lowest and continue batch
|
||||||
targetWidget.value = 0;
|
targetWidget.value = 0;
|
||||||
console.log("increment");
|
console.log("increment");
|
||||||
} else {
|
} else {
|
||||||
@ -52,7 +52,7 @@ export function addSeedControlWidget(node, targetWidget, defaultValue = "randomi
|
|||||||
// limit min to something that javascript can handle
|
// limit min to something that javascript can handle
|
||||||
min = Math.min(0, min);
|
min = Math.min(0, min);
|
||||||
}
|
}
|
||||||
/*if (targetWidget.value <= 0) { //Loop to highest and continue batch
|
/*if (min) { //Loop to highest and continue batch
|
||||||
targetWidget.value = 1125899906842624;
|
targetWidget.value = 1125899906842624;
|
||||||
console.log("decrement");
|
console.log("decrement");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user