mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
parent
90a1cea515
commit
c209aedb22
1 changed files with 4 additions and 0 deletions
|
@ -254,6 +254,10 @@ void Sticker::unloadLottie() {
|
||||||
if (!_lottie) {
|
if (!_lottie) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (_diceIndex > 0 && _lastDiceFrame.isNull()) {
|
||||||
|
_nextLastDiceFrame = false;
|
||||||
|
_lottieOncePlayed = false;
|
||||||
|
}
|
||||||
_lottie = nullptr;
|
_lottie = nullptr;
|
||||||
_parent->data()->history()->owner().unregisterHeavyViewPart(_parent);
|
_parent->data()->history()->owner().unregisterHeavyViewPart(_parent);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue