aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2021-05-04 13:21:51 +0200
committerRigel Kent <sendmemail@rigelk.eu>2021-05-04 13:21:51 +0200
commitb76db2ffb429829b5b1efbd80c9181bee8c5de31 (patch)
tree6e621514136d4970f81d54019a58925a43d465a2
parent0c1145687bf029561e56219e669c9f1b0cd61577 (diff)
downloadPeerTube-b76db2ffb429829b5b1efbd80c9181bee8c5de31.tar.gz
PeerTube-b76db2ffb429829b5b1efbd80c9181bee8c5de31.tar.zst
PeerTube-b76db2ffb429829b5b1efbd80c9181bee8c5de31.zip
round volume in stats card
-rw-r--r--client/src/assets/player/stats/stats-card.ts2
1 files changed, 1 insertions, 1 deletions
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 {
193 193
194 const duration = player.duration() 194 const duration = player.duration()
195 195
196 let volume = `${player.volume() * 100}` 196 let volume = `${Math.round(player.volume() * 100)}`
197 if (player.muted()) volume += ' (muted)' 197 if (player.muted()) volume += ' (muted)'
198 198
199 const networkActivity = playerNetworkInfo.downloadSpeed 199 const networkActivity = playerNetworkInfo.downloadSpeed