mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-01-08 04:03:48 +02:00
Fix lightbox loading flickering #806
This commit is contained in:
parent
4a2959edaf
commit
acccde3054
@ -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())
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user