mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Fixed low quality of first frame for lottie emoji in userpic builder.
This commit is contained in:
parent
a58f9c6ebd
commit
9c43f9c3e2
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ void PreviewPainter::setDocument(
|
|||
return;
|
||||
}
|
||||
_lifetime.destroy();
|
||||
const auto emojiSize = Size(_emojiSize);
|
||||
const auto emojiSize = Size(_size * style::DevicePixelRatio());
|
||||
if (sticker->isLottie()) {
|
||||
_player = std::make_unique<HistoryView::LottiePlayer>(
|
||||
ChatHelpers::LottiePlayerFromDocument(
|
||||
|
|
Loading…
Add table
Reference in a new issue