Fix emoji button with disabled animations.

This commit is contained in:
John Preston 2018-09-27 23:41:49 +03:00
parent a70613d929
commit f493d69bd2
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ void EmojiButton::paintEvent(QPaintEvent *e) {
: (over : (over
? st::historyEmojiCircleFgOver ? st::historyEmojiCircleFgOver
: st::historyEmojiCircleFg)); : st::historyEmojiCircleFg));
if (_loading && anim::Disabled()) { if (anim::Disabled() && _loading && _loading->animating()) {
anim::DrawStaticLoading( anim::DrawStaticLoading(
p, p,
inner, inner,