Re-enable TSC on build (#5)

* Fix fall through

* Re-enable tsc
This commit is contained in:
Chenlei Hu
2024-06-14 09:55:33 -04:00
committed by GitHub
parent 92b08c0808
commit 2595d12a84
4 changed files with 10 additions and 2 deletions

View File

@@ -142,6 +142,7 @@ export function addValueControlWidgets(node, targetWidget, defaultValue = "rando
break;
case "randomize":
current_index = Math.floor(Math.random() * current_length);
break;
default:
break;
}
@@ -173,6 +174,7 @@ export function addValueControlWidgets(node, targetWidget, defaultValue = "rando
break;
case "randomize":
targetWidget.value = Math.floor(Math.random() * range) * (targetWidget.options.step / 10) + min;
break;
default:
break;
}