mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: correct bars
This commit is contained in:
1 parent
ffe6ccaed0
commit
cd277fb2f1
1 file changed
+6
-1
+6
-1
@@ -104,7 +104,12 @@ export function InfoWithDelta({
|
|||||||
|
|
||||||
{!noRanking && (
|
{!noRanking && (
|
||||||
<Flex pl={indent ? '2' : '0'} align="center" gap="2">
|
<Flex pl={indent ? '2' : '0'} align="center" gap="2">
|
||||||
<Progress variant="soft" size="1" value={50} color="gray" />
|
<Progress
|
||||||
|
variant="soft"
|
||||||
|
size="1"
|
||||||
|
value={((betterTanks.length + 1) / others.length) * 100}
|
||||||
|
color="gray"
|
||||||
|
/>
|
||||||
<Text color="gray" size="1">
|
<Text color="gray" size="1">
|
||||||
{betterTanks.length + 1} / {others.length}
|
{betterTanks.length + 1} / {others.length}
|
||||||
</Text>
|
</Text>
|
||||||
|
|||||||
Reference in new issue
Block a user