mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix reactions panel expanding animation.
This commit is contained in:
parent
1b8352f878
commit
9633f93690
1 changed files with 2 additions and 0 deletions
|
@ -1024,6 +1024,7 @@ void EmojiListWidget::drawRecent(
|
||||||
_recentPainted = true;
|
_recentPainted = true;
|
||||||
auto &recent = _recent[index];
|
auto &recent = _recent[index];
|
||||||
if (const auto custom = recent.custom) {
|
if (const auto custom = recent.custom) {
|
||||||
|
_emojiPaintContext->scale = context.progress;
|
||||||
_emojiPaintContext->position = position
|
_emojiPaintContext->position = position
|
||||||
+ _innerPosition
|
+ _innerPosition
|
||||||
+ _customPosition;
|
+ _customPosition;
|
||||||
|
@ -1067,6 +1068,7 @@ void EmojiListWidget::drawCustom(
|
||||||
auto &custom = _custom[set];
|
auto &custom = _custom[set];
|
||||||
custom.painted = true;
|
custom.painted = true;
|
||||||
auto &entry = custom.list[index];
|
auto &entry = custom.list[index];
|
||||||
|
_emojiPaintContext->scale = context.progress;
|
||||||
_emojiPaintContext->position = position
|
_emojiPaintContext->position = position
|
||||||
+ _innerPosition
|
+ _innerPosition
|
||||||
+ _customPosition;
|
+ _customPosition;
|
||||||
|
|
Loading…
Add table
Reference in a new issue