mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: pen previwe
This commit is contained in:
1 parent
b176ec6c96
commit
a7f799b5b6
1 file changed
+4
-1
@@ -75,6 +75,8 @@ export function Options({ thicknessRange, canvas, skeleton }: OptionsProps) {
|
|||||||
const revealed = Tankopedia.use((state) => state.revealed);
|
const revealed = Tankopedia.use((state) => state.revealed);
|
||||||
const disturbed = Tankopedia.use((state) => state.disturbed);
|
const disturbed = Tankopedia.use((state) => state.disturbed);
|
||||||
const highGraphics = TankopediaPersistent.use((state) => state.highGraphics);
|
const highGraphics = TankopediaPersistent.use((state) => state.highGraphics);
|
||||||
|
const equalize = Duel.use((state) => state.equalize);
|
||||||
|
const equalizer = Duel.use((state) => state.antagonist.tank.equalizer);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@@ -102,8 +104,9 @@ export function Options({ thicknessRange, canvas, skeleton }: OptionsProps) {
|
|||||||
value: (
|
value: (
|
||||||
resolvePenetrationCoefficient(
|
resolvePenetrationCoefficient(
|
||||||
hasCalibratedShells,
|
hasCalibratedShells,
|
||||||
false,
|
equalize,
|
||||||
antagonistShell.type,
|
antagonistShell.type,
|
||||||
|
equalizer,
|
||||||
) * antagonistShell.penetration!.near
|
) * antagonistShell.penetration!.near
|
||||||
).toFixed(0),
|
).toFixed(0),
|
||||||
})}
|
})}
|
||||||
|
|||||||
Reference in new issue
Block a user