From a65002b56ecdcb10f76bcc2debbe38593a69643f Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih Date: Fri, 12 Jan 2024 14:50:52 +0900 Subject: [PATCH] =?UTF-8?q?(fix)=20=E3=83=9F=E3=83=A5=E3=83=BC=E3=83=88?= =?UTF-8?q?=E5=BE=A9=E5=B8=B0=E6=99=82=E3=81=AB=E9=9F=B3=E9=87=8F=E3=81=8C?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E3=81=95=E3=82=8C=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/components/MkMediaAudio.vue | 2 +- packages/frontend/src/components/MkMediaVideo.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/MkMediaAudio.vue b/packages/frontend/src/components/MkMediaAudio.vue index ef02fa01ae..ad05d1138e 100644 --- a/packages/frontend/src/components/MkMediaAudio.vue +++ b/packages/frontend/src/components/MkMediaAudio.vue @@ -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; } diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue index 12c822eac1..b963290d5d 100644 --- a/packages/frontend/src/components/MkMediaVideo.vue +++ b/packages/frontend/src/components/MkMediaVideo.vue @@ -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; }