(fix) ミュート復帰時に音量が固定される

This commit is contained in:
kakkokari-gtyih 2024-01-12 14:50:52 +09:00
parent 6271f9493b
commit a65002b56e
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ function togglePlayPause() {
function toggleMute() { function toggleMute() {
if (volume.value === 0) { if (volume.value === 0) {
volume.value = .5; volume.value = defaultStore.state.mediaPlayer.volume;
} else { } else {
volume.value = 0; volume.value = 0;
} }

View File

@ -237,7 +237,7 @@ function toggleFullscreen() {
function toggleMute() { function toggleMute() {
if (volume.value === 0) { if (volume.value === 0) {
volume.value = .5; volume.value = defaultStore.state.mediaPlayer.volume;
} else { } else {
volume.value = 0; volume.value = 0;
} }