mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Fixed display of loading progress in voice messages with ttl.
This commit is contained in:
parent
8eb49d5efc
commit
15e2874da8
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue