mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 05:07:10 +02:00
Version 5.10.7: Fix gifts scrolling.
This commit is contained in:
parent
6976e97de3
commit
99c547b625
1 changed files with 4 additions and 0 deletions
|
@ -153,6 +153,10 @@ void GiftButton::setDescriptor(const GiftDescriptor &descriptor, Mode mode) {
|
|||
) | rpl::start_with_next([=](not_null<DocumentData*> document) {
|
||||
setDocument(document);
|
||||
}, lifetime());
|
||||
_patterned = false;
|
||||
_uniqueBackgroundCache = QImage();
|
||||
_uniquePatternEmoji = nullptr;
|
||||
_uniquePatternCache.clear();
|
||||
|
||||
if (mode != Mode::Full) {
|
||||
_button = QRect();
|
||||
|
|
Loading…
Add table
Reference in a new issue