feat: better outluiens

This commit is contained in:
TrèsAbhi committed 2024-07-31 13:48:14 -05:00
1 parent e9bb76e698
commit 1944745902
2 files changed
+10 -9

No files matched your search

@@ -59,9 +59,9 @@ export function Prompts() {
const input = event.currentTarget.valueAsNumber;
if (!isNaN(input)) {
armor.thickness[index] = input;
}
if (isNaN(input) || input < 0) return;
armor.thickness[index] = input;
});
} else if (event.key === 'Escape') {
input.current?.blur();