2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

Support rendering Webm videos with alpha.

This commit is contained in:
John Preston
2022-01-19 17:45:51 +03:00
parent 1755ead681
commit 8b7d2c880e
25 changed files with 139 additions and 44 deletions

View File

@@ -827,7 +827,7 @@ void FieldAutocomplete::Inner::paintEvent(QPaintEvent *e) {
const auto &media = sticker.documentMedia;
if (!document->sticker()) continue;
if (document->sticker()->animated
if (document->sticker()->isLottie()
&& !sticker.animated
&& media->loaded()) {
setupLottie(sticker);