From acccde3054bf7d57af201dbf9f73955db3ec0bbb Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sat, 6 Jan 2024 12:48:51 +0100 Subject: [PATCH] Fix lightbox loading flickering #806 --- .../gallery/lightbox/media/media.lightbox.gallery.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/frontend/app/ui/gallery/lightbox/media/media.lightbox.gallery.component.ts b/src/frontend/app/ui/gallery/lightbox/media/media.lightbox.gallery.component.ts index d6c514d8..a9856266 100644 --- a/src/frontend/app/ui/gallery/lightbox/media/media.lightbox.gallery.component.ts +++ b/src/frontend/app/ui/gallery/lightbox/media/media.lightbox.gallery.component.ts @@ -184,7 +184,6 @@ export class GalleryLightboxMediaComponent implements OnChanges { this.gridMedia && !this.mediaLoaded && this.thumbnailSrc !== null && - !this.gridMedia.isPhotoAvailable(window.innerWidth, window.innerHeight) && (this.gridMedia.isThumbnailAvailable() || this.gridMedia.isReplacementThumbnailAvailable()) );