mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Version 5.10.7: Fix gifts scrolling.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user