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);
|
||||
|
||||
function showHiddenContent(ev: MouseEvent) {
|
||||
if (defaultStore.state.sensitiveDoubleClickRequired) {
|
||||
if (hide.value && defaultStore.state.sensitiveDoubleClickRequired) {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
return;
|
||||
|
@ -135,7 +135,7 @@ function showHiddenContent(ev: MouseEvent) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (defaultStore.state.sensitiveDoubleClickRequired) {
|
||||
if (hide.value && defaultStore.state.sensitiveDoubleClickRequired) {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
return;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user