fix(media): image interaction is not working
This commit is contained in:
parent
00db4e1c07
commit
ade6578486
@ -41,7 +41,7 @@ const audioEl = shallowRef<HTMLAudioElement>();
|
|||||||
const hide = ref(true);
|
const hide = ref(true);
|
||||||
|
|
||||||
function showHiddenContent(ev: MouseEvent) {
|
function showHiddenContent(ev: MouseEvent) {
|
||||||
if (defaultStore.state.sensitiveDoubleClickRequired) {
|
if (hide.value && defaultStore.state.sensitiveDoubleClickRequired) {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
return;
|
return;
|
||||||
|
@ -135,7 +135,7 @@ function showHiddenContent(ev: MouseEvent) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (defaultStore.state.sensitiveDoubleClickRequired) {
|
if (hide.value && defaultStore.state.sensitiveDoubleClickRequired) {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
return;
|
return;
|
||||||
|
@ -255,7 +255,7 @@ function showMenu(ev: MouseEvent) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function showHiddenContent(ev: MouseEvent) {
|
function showHiddenContent(ev: MouseEvent) {
|
||||||
if (defaultStore.state.sensitiveDoubleClickRequired) {
|
if (hide.value && defaultStore.state.sensitiveDoubleClickRequired) {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user