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

4
.env

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

3
src/components/wrappers/stickerSetThumb.ts

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

Loading…
Cancel
Save