This commit is contained in:
tresabhi committed 2026-11-11 23:23:53 -06:00
1 parent cf0a1dd1ab
commit 4097730803
9 files changed
+98 -8

No files matched your search

@@ -88,7 +88,7 @@
&[data-variant="surface"],
&[data-variant="soft"] {
background-color: var(--accent-4);
background-color: var(--accent-a3);
color: var(--gray-12);
}
@@ -1,3 +1,4 @@
import type { Vector2Tuple } from "three";
import { metaSortTank, SEARCH_KEYS } from "@blitzkit/core";
import { literals } from "@blitzkit/i18n/src/literals";
import type { TankDefinition } from "@blitzkit/protos";
@@ -134,6 +135,14 @@ export const TankSearch = memo<TankSearchProps>(
break;
}
case CharacteristicType.Interval: {
const [low, high] = value as Vector2Tuple;
sortValue = (low + high) / 2;
break;
}
case CharacteristicType.NumberList: {
const values = value as number[];
if (values.length === 0) {