Add hit multiplier indicator to comp analyzer

This commit is contained in:
Kalle 2026-01-20 20:22:07 +02:00
parent e1ae49f1e6
commit 593e3d1fa5
2 changed files with 13 additions and 1 deletions

View File

@ -100,6 +100,13 @@
font-weight: var(--bold);
}
.hitMultiplier {
font-size: var(--fonts-xxs);
font-weight: var(--semi-bold);
opacity: 0.8;
margin-left: var(--s-0-5);
}
.segment[data-slot-color="yellow"] {
background-color: #f5d742;
}

View File

@ -133,7 +133,12 @@ function SegmentBar({
subWeaponId={params.subWeaponId}
specialWeaponId={params.specialWeaponId}
/>
<span className={styles.damageValue}>{segment.damageValue}</span>
<span className={styles.damageValue}>
{segment.damageValue}
{segment.count > 1 ? (
<span className={styles.hitMultiplier}>×{segment.count}</span>
) : null}
</span>
</div>
<button
type="button"