round volume in stats card

pull/4042/head
Rigel Kent 2021-05-04 13:21:51 +02:00
parent 0c1145687b
commit b76db2ffb4
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
1 changed files with 1 additions and 1 deletions

View File

@ -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