mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-21 15:47:38 +00:00
Fix reactions panel expanding animation.
This commit is contained in:
parent
1b8352f878
commit
9633f93690
@ -1024,6 +1024,7 @@ void EmojiListWidget::drawRecent(
|
||||
_recentPainted = true;
|
||||
auto &recent = _recent[index];
|
||||
if (const auto custom = recent.custom) {
|
||||
_emojiPaintContext->scale = context.progress;
|
||||
_emojiPaintContext->position = position
|
||||
+ _innerPosition
|
||||
+ _customPosition;
|
||||
@ -1067,6 +1068,7 @@ void EmojiListWidget::drawCustom(
|
||||
auto &custom = _custom[set];
|
||||
custom.painted = true;
|
||||
auto &entry = custom.list[index];
|
||||
_emojiPaintContext->scale = context.progress;
|
||||
_emojiPaintContext->position = position
|
||||
+ _innerPosition
|
||||
+ _customPosition;
|
||||
|
Loading…
Reference in New Issue
Block a user