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

Limit to 30 FPS in small stickers.

This commit is contained in:
John Preston
2019-07-05 19:15:25 +02:00
parent 72a9d61b97
commit 198de85ce5
17 changed files with 91 additions and 35 deletions

View File

@@ -1593,6 +1593,7 @@ void StickersListWidget::ensureLottiePlayer(Set &set) {
const auto [i, ok] = _lottieData.emplace(
set.id,
LottieSet{ std::make_unique<Lottie::MultiPlayer>(
Lottie::Quality::Default,
getLottieRenderer()) });
Assert(ok);
const auto raw = set.lottiePlayer = i->second.player.get();