mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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) {
|
) | rpl::start_with_next([=](not_null<DocumentData*> document) {
|
||||||
setDocument(document);
|
setDocument(document);
|
||||||
}, lifetime());
|
}, lifetime());
|
||||||
|
_patterned = false;
|
||||||
|
_uniqueBackgroundCache = QImage();
|
||||||
|
_uniquePatternEmoji = nullptr;
|
||||||
|
_uniquePatternCache.clear();
|
||||||
|
|
||||||
if (mode != Mode::Full) {
|
if (mode != Mode::Full) {
|
||||||
_button = QRect();
|
_button = QRect();
|
||||||
|
|
Loading…
Add table
Reference in a new issue