fix muted volume value

This commit is contained in:
DIYgod 2018-03-08 22:46:38 +08:00
parent f4ffe98bf6
commit 21ca7d7b9a
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ class APlayer {
this.switchVolumeIcon();
}
return this.audio.volume;
return this.audio.muted ? 0 : this.audio.volume;
}
/**