mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-28 21:18:46 +00:00
parent
90a1cea515
commit
c209aedb22
@ -254,6 +254,10 @@ void Sticker::unloadLottie() {
|
||||
if (!_lottie) {
|
||||
return;
|
||||
}
|
||||
if (_diceIndex > 0 && _lastDiceFrame.isNull()) {
|
||||
_nextLastDiceFrame = false;
|
||||
_lottieOncePlayed = false;
|
||||
}
|
||||
_lottie = nullptr;
|
||||
_parent->data()->history()->owner().unregisterHeavyViewPart(_parent);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user