Unverified Commit 3308b087 authored by Maxime FRIESS's avatar Maxime FRIESS 💙
Browse files

[ui] Round globalPop display (closes #30)

parent 7776f17a
......@@ -93,7 +93,7 @@ export const Done: FC = () => {
<div style={{ width: '20vw' }}>
<Progress percent={globalPop / 5} />
</div>
<div style={{ fontSize: '32px', marginTop: '0.5em', marginBottom: '0.5em' }}>{globalPop}/500</div>
<div style={{ fontSize: '32px', marginTop: '0.5em', marginBottom: '0.5em' }}>{Math.round(globalPop)}/500</div>
{runs.map((run: Run, index: number) => {
return (
<div
......
......@@ -61,7 +61,7 @@ export const Start = () => {
<div style={{ width: '20vw' }}>
<Progress percent={globalPop / 5} />
</div>
<div style={{ fontSize: '32px', marginTop: '0.5em' }}>{globalPop}/500</div>
<div style={{ fontSize: '32px', marginTop: '0.5em' }}>{Math.round(globalPop)}/500</div>
</div>
</PlayContainerMid>
<PlayContainerBot>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment