mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-29 13:47:47 +00:00
Fix unread badge render glitch.
This commit is contained in:
parent
d89573bab5
commit
8cd5105813
@ -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…
x
Reference in New Issue
Block a user