mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 14:08:41 +00:00
Fix unread badge render glitch.
This commit is contained in:
@@ -120,7 +120,7 @@ void TopicsView::paint(
|
||||
auto rect = geometry;
|
||||
auto skipBig = _jumpToTopic && !context.active;
|
||||
for (const auto &title : _titles) {
|
||||
if (rect.width() <= 0) {
|
||||
if (rect.width() < title.title.style()->font->elidew) {
|
||||
break;
|
||||
}
|
||||
title.title.draw(p, {
|
||||
|
Reference in New Issue
Block a user