Fixed display of loading progress in voice messages with ttl.

This commit is contained in:
23rd 2024-01-20 15:58:03 +03:00 committed by John Preston
parent 8eb49d5efc
commit 15e2874da8
1 changed files with 3 additions and 3 deletions

View File

@ -727,9 +727,6 @@ void Document::draw(
auto hq = PainterHighQualityEnabler(p);
p.setBrush(stm->msgFileBg);
p.drawEllipse(inner);
if (hasTtlBadge) {
p.drawEllipse(ttlRect);
}
}
}
@ -801,6 +798,9 @@ void Document::draw(
if (hasTtlBadge) {
{
auto hq = PainterHighQualityEnabler(q);
p.setBrush(stm->msgFileBg);
q.setPen(Qt::NoPen);
p.drawEllipse(ttlRect);
auto pen = stm->msgBg->p;
pen.setWidthF(style::ConvertScaleExact(kPenWidth));
q.setPen(pen);