(fix) ミュート復帰時に音量が固定される
This commit is contained in:
parent
6271f9493b
commit
a65002b56e
|
@ -162,7 +162,7 @@ function togglePlayPause() {
|
|||
|
||||
function toggleMute() {
|
||||
if (volume.value === 0) {
|
||||
volume.value = .5;
|
||||
volume.value = defaultStore.state.mediaPlayer.volume;
|
||||
} else {
|
||||
volume.value = 0;
|
||||
}
|
||||
|
|
|
@ -237,7 +237,7 @@ function toggleFullscreen() {
|
|||
|
||||
function toggleMute() {
|
||||
if (volume.value === 0) {
|
||||
volume.value = .5;
|
||||
volume.value = defaultStore.state.mediaPlayer.volume;
|
||||
} else {
|
||||
volume.value = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue