Eduard Kuzmenko 2 years ago
parent
commit
97e4157fdf
  1. 4
      .env
  2. 5
      src/components/wrappers/stickerSetThumb.ts

4
.env

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
API_ID=1025907
API_HASH=452b0359b988148995f22ff0f4229750
VERSION=1.5.0
VERSION_FULL=1.5.0 (206)
BUILD=206
VERSION_FULL=1.5.0 (207)
BUILD=207

5
src/components/wrappers/stickerSetThumb.ts

@ -63,7 +63,10 @@ export default async function wrapStickerSetThumb({set, lazyLoadQueue, container @@ -63,7 +63,10 @@ export default async function wrapStickerSetThumb({set, lazyLoadQueue, container
return promise.then((blob) => {
renderImageFromUrl(media, URL.createObjectURL(blob), () => {
container.append(media);
animationIntersector.addAnimation(media as HTMLVideoElement, group);
if(set.pFlags.videos) {
animationIntersector.addAnimation(media as HTMLVideoElement, group);
}
});
});
}

Loading…
Cancel
Save