From 594fc2e8b7a90bc83b5b03e6feb32ced5797d670 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Fri, 9 Dec 2022 22:48:13 +0100 Subject: [PATCH] Add config to enable video looping fixes #544 --- .../controls.lightbox.gallery.component.html | 30 +++++++++++++++---- .../controls.lightbox.gallery.component.ts | 16 ++++++---- .../media.lightbox.gallery.component.html | 1 + .../media/media.lightbox.gallery.component.ts | 7 +++-- 4 files changed, 42 insertions(+), 12 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 82d391fc..86898854 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 @@ -1,6 +1,6 @@
{{Title}}
+ [(ngModel)]="lightboxService.captionAlwaysOn">
@@ -77,7 +77,27 @@ i18n-switch-on-text [switch-handle-width]="100" [switch-label-width]="20" - [(ngModel)]="facesAlwaysOn"> + [(ngModel)]="lightboxService.facesAlwaysOn"> + +
+ +
  • +
  • @@ -110,7 +130,7 @@ *ngIf="facesEnabled && activePhoto && activePhoto.gridMedia.Photo.metadata.faces && activePhoto.gridMedia.Photo.metadata.faces.length > 0">