Fix reactions panel expanding animation.
This commit is contained in:
parent
1b8352f878
commit
9633f93690
|
@ -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…
Reference in New Issue