mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: better outluiens
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user