2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Move Webm sticker to UnwrappedMedia.

This commit is contained in:
John Preston
2022-08-04 13:35:08 +03:00
parent 5b0d023a88
commit f8e22210e7
33 changed files with 458 additions and 300 deletions

View File

@@ -1283,7 +1283,7 @@ void StickerSetBox::Inner::paintSticker(
_lottiePlayer->unpause(element.lottie);
} else if (element.webm && element.webm->started()) {
p.drawPixmap(ppos, element.webm->current({
p.drawImage(ppos, element.webm->current({
.frame = size,
.keepAlpha = true,
}, paused ? 0 : now));