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