2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Theme preview ready.

Also style::color is now copyable, constructed only inside a palette.
Also macOS setup new background ready.
This commit is contained in:
John Preston
2016-12-23 16:21:01 +03:00
parent 1d895cd953
commit ef927c8465
135 changed files with 3516 additions and 1391 deletions

View File

@@ -639,7 +639,7 @@ void Notification::updateNotifyDisplay() {
} else if (_forwardedCount > 1) {
p.setFont(st::dialogsTextFont);
if (_author) {
itemTextCache.setText(st::dialogsTextFont, _author->name);
itemTextCache.setText(st::dialogsTextStyle, _author->name);
p.setPen(st::dialogsTextFgService);
itemTextCache.drawElided(p, r.left(), r.top(), r.width(), st::dialogsTextFont->height);
r.setTop(r.top() + st::dialogsTextFont->height);