mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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);
|
auto hq = PainterHighQualityEnabler(p);
|
||||||
p.setBrush(stm->msgFileBg);
|
p.setBrush(stm->msgFileBg);
|
||||||
p.drawEllipse(inner);
|
p.drawEllipse(inner);
|
||||||
if (hasTtlBadge) {
|
|
||||||
p.drawEllipse(ttlRect);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -801,6 +798,9 @@ void Document::draw(
|
||||||
if (hasTtlBadge) {
|
if (hasTtlBadge) {
|
||||||
{
|
{
|
||||||
auto hq = PainterHighQualityEnabler(q);
|
auto hq = PainterHighQualityEnabler(q);
|
||||||
|
p.setBrush(stm->msgFileBg);
|
||||||
|
q.setPen(Qt::NoPen);
|
||||||
|
p.drawEllipse(ttlRect);
|
||||||
auto pen = stm->msgBg->p;
|
auto pen = stm->msgBg->p;
|
||||||
pen.setWidthF(style::ConvertScaleExact(kPenWidth));
|
pen.setWidthF(style::ConvertScaleExact(kPenWidth));
|
||||||
q.setPen(pen);
|
q.setPen(pen);
|
||||||
|
|
Loading…
Add table
Reference in a new issue