diff --git a/packages/frontend/src/components/MkMediaBanner.vue b/packages/frontend/src/components/MkMediaBanner.vue index fe8557817..ffa202f7f 100644 --- a/packages/frontend/src/components/MkMediaBanner.vue +++ b/packages/frontend/src/components/MkMediaBanner.vue @@ -41,7 +41,7 @@ const audioEl = shallowRef(); const hide = ref(true); function showHiddenContent(ev: MouseEvent) { - if (defaultStore.state.sensitiveDoubleClickRequired) { + if (hide.value && defaultStore.state.sensitiveDoubleClickRequired) { ev.preventDefault(); ev.stopPropagation(); return; diff --git a/packages/frontend/src/components/MkMediaImage.vue b/packages/frontend/src/components/MkMediaImage.vue index bea768abc..f87628610 100644 --- a/packages/frontend/src/components/MkMediaImage.vue +++ b/packages/frontend/src/components/MkMediaImage.vue @@ -135,7 +135,7 @@ function showHiddenContent(ev: MouseEvent) { return; } - if (defaultStore.state.sensitiveDoubleClickRequired) { + if (hide.value && defaultStore.state.sensitiveDoubleClickRequired) { ev.preventDefault(); ev.stopPropagation(); return; diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue index c33eb97f0..7092cf06d 100644 --- a/packages/frontend/src/components/MkMediaVideo.vue +++ b/packages/frontend/src/components/MkMediaVideo.vue @@ -255,7 +255,7 @@ function showMenu(ev: MouseEvent) { } function showHiddenContent(ev: MouseEvent) { - if (defaultStore.state.sensitiveDoubleClickRequired) { + if (hide.value && defaultStore.state.sensitiveDoubleClickRequired) { ev.preventDefault(); ev.stopPropagation(); return;