From 33d301ba7455fc1bdecb8e0e402eb69a8dc08718 Mon Sep 17 00:00:00 2001 From: FizzleDorf <1fizzledorf@gmail.com> Date: Sat, 1 Apr 2023 02:38:08 -0400 Subject: [PATCH] overlooked min/max for unused code --- web/scripts/widgets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/scripts/widgets.js b/web/scripts/widgets.js index d18118a92..90b029319 100644 --- a/web/scripts/widgets.js +++ b/web/scripts/widgets.js @@ -32,7 +32,7 @@ export function addSeedControlWidget(node, targetWidget, defaultValue = "randomi // limit max to something that javascript can handle 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; console.log("increment"); } else { @@ -52,7 +52,7 @@ export function addSeedControlWidget(node, targetWidget, defaultValue = "randomi // limit min to something that javascript can handle 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; console.log("decrement"); } else {