fix muted volume value

This commit is contained in:
DIYgod
2018-03-08 22:46:38 +08:00
parent f4ffe98bf6
commit 21ca7d7b9a
+1 -1
View File
@@ -319,7 +319,7 @@ class APlayer {
this.switchVolumeIcon();
}
return this.audio.volume;
return this.audio.muted ? 0 : this.audio.volume;
}
/**