mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08: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