mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +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 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, {
|
||||
|
|
Loading…
Add table
Reference in a new issue