From b76db2ffb429829b5b1efbd80c9181bee8c5de31 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 4 May 2021 13:21:51 +0200 Subject: round volume in stats card --- client/src/assets/player/stats/stats-card.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/assets/player/stats/stats-card.ts b/client/src/assets/player/stats/stats-card.ts index 291631088..d9f0d2fe9 100644 --- a/client/src/assets/player/stats/stats-card.ts +++ b/client/src/assets/player/stats/stats-card.ts @@ -193,7 +193,7 @@ class StatsCard extends Component { const duration = player.duration() - let volume = `${player.volume() * 100}` + let volume = `${Math.round(player.volume() * 100)}` if (player.muted()) volume += ' (muted)' const networkActivity = playerNetworkInfo.downloadSpeed -- cgit v1.2.3