mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Limit to 30 FPS in small stickers.
This commit is contained in:
@@ -485,6 +485,7 @@ void StickerSetBox::Inner::showPreview() {
|
||||
not_null<Lottie::MultiPlayer*> StickerSetBox::Inner::getLottiePlayer() {
|
||||
if (!_lottiePlayer) {
|
||||
_lottiePlayer = std::make_unique<Lottie::MultiPlayer>(
|
||||
Lottie::Quality::Default,
|
||||
Lottie::MakeFrameRenderer());
|
||||
_lottiePlayer->updates(
|
||||
) | rpl::start_with_next([=] {
|
||||
|
Reference in New Issue
Block a user