Fix multi-forward notification layout (long name).

This commit is contained in:
John Preston 2018-03-15 02:40:35 +03:00
parent 31b82a5d92
commit 9dc48522d8

View file

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