2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 23:55:12 +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

@@ -971,6 +971,7 @@ void FieldAutocompleteInner::setupLottie(StickerSuggestion &suggestion) {
st::stickerPanSize.width() - st::buttonRadius * 2,
st::stickerPanSize.height() - st::buttonRadius * 2
) * cIntRetinaFactor(),
Lottie::Quality::Default,
getLottieRenderer());
suggestion.animated->updates(