mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
parent
90a1cea515
commit
c209aedb22
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue