From 2d72649ac6271133fd169370a3a9852fb58ec95c Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sun, 18 Dec 2022 10:15:57 +0100 Subject: [PATCH] Reverting: Use tap instead of click for better IOS touch navigation #493 Navigator fix solves the IOS issue --- .../controls.lightbox.gallery.component.html | 35 +++++++++---------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html b/src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html index 7953fa01..08f1a92b 100644 --- a/src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html +++ b/src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html @@ -6,15 +6,14 @@
-
@@ -22,17 +21,16 @@
-
- @@ -120,7 +118,7 @@
@@ -133,9 +131,10 @@ (swipeleft)="zoom == 1 && nextPhoto.emit()" (swiperight)="zoom == 1 && previousPhoto.emit()" (swipeup)="zoom == 1 && closed.emit()" - (tap)="tap($event);mediaElement.playPause()" + (tap)="tap($event)" (pan)="pan($any($event))" - (wheel)="wheel($event)"> + (wheel)="wheel($event)" + (click)="mediaElement.playPause()">
-
-
@@ -205,12 +204,12 @@
@@ -223,12 +222,12 @@
+ (click)="mediaElement.playPause()"> + (click)="mediaElement.mute()">