mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +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={
|
secondaryDiscriminator={
|
||||||
<Text style={{ fontSize: '0.75em' }}>
|
<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>
|
</Text>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in new issue
Block a user