Fixed animation updating with small width for choosing sticker.

This commit is contained in:
23rd 2021-09-03 18:38:40 +03:00 committed by John Preston
parent 613f2ba708
commit dabe83bd27
1 changed files with 2 additions and 2 deletions

View File

@ -373,8 +373,8 @@ bool SendActionPainter::updateNeedsAnimating(crl::time now, bool force) {
|| (sendActionResult && !anim::Disabled())) {
_history->peer->owner().sendActionManager().updateAnimation({
_history,
_animationLeft,
_sendActionAnimation.width(),
0,
_sendActionAnimation.width() + _animationLeft,
st::normalFont->height,
(force || sendActionChanged)
});