mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
fix: round caliber
This commit is contained in:
1 parent
a5df2528f6
commit
e4e1903a2a
1 file changed
+4
-1
@@ -178,7 +178,10 @@ export function Options({ thicknessRange, canvas }: OptionsProps) {
|
||||
}
|
||||
secondaryDiscriminator={
|
||||
<Text style={{ fontSize: '0.75em' }}>
|
||||
{gun.gun_type!.value.base.shells[0].caliber}mm
|
||||
{Math.round(
|
||||
gun.gun_type!.value.base.shells[0].caliber,
|
||||
)}
|
||||
mm
|
||||
</Text>
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user