mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix unread badge render glitch.
This commit is contained in:
parent
d89573bab5
commit
8cd5105813
1 changed files with 1 additions and 1 deletions
|
@ -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, {
|
||||||
|
|
Loading…
Add table
Reference in a new issue