2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Update some icons.

This commit is contained in:
John Preston
2022-02-25 16:11:49 +03:00
parent aa012b6d0b
commit 1710863231
668 changed files with 180 additions and 272 deletions

View File

@@ -58,15 +58,12 @@ void EmojiButton::paintEvent(QPaintEvent *e) {
: (over
? st::historyEmojiCircleFgOver
: st::historyEmojiCircleFg));
const auto line = style::ConvertScaleExact(st::historyEmojiCircleLine);
if (anim::Disabled() && _loading && _loading->animating()) {
anim::DrawStaticLoading(
p,
inner,
st::historyEmojiCircleLine,
color);
anim::DrawStaticLoading(p, inner, line, color);
} else {
auto pen = color->p;
pen.setWidth(st::historyEmojiCircleLine);
pen.setWidthF(line);
pen.setCapStyle(Qt::RoundCap);
p.setPen(pen);
p.setBrush(Qt::NoBrush);