mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Almost all icons moved from sprite.
It is a broken build, some of sprite()s are in stickers.style file.
This commit is contained in:
@@ -388,7 +388,7 @@ void GroupInfoBox::paintEvent(QPaintEvent *e) {
|
||||
} else {
|
||||
p.fillRect(phRect, st::newGroupPhotoBg->b);
|
||||
}
|
||||
p.drawSprite(phRect.topLeft() + st::newGroupPhotoIconPosition, st::newGroupPhotoIcon);
|
||||
st::newGroupPhotoIcon.paint(p, phRect.topLeft() + st::newGroupPhotoIconPosition, width());
|
||||
} else {
|
||||
p.drawPixmap(phRect.topLeft(), _photoSmall);
|
||||
}
|
||||
|
Reference in New Issue
Block a user