From 9633f93690c960ab57548648e573c05b102728b9 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 28 Dec 2022 10:11:38 +0400 Subject: [PATCH] Fix reactions panel expanding animation. --- Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp index eda6bd252..966ffaf94 100644 --- a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp +++ b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp @@ -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;