fix: poll avatar rounding

This commit is contained in:
AlexeyZavar
2026-04-04 19:54:42 +03:00
parent a17f20463f
commit a50dbd5886
@@ -68,6 +68,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "styles/style_widgets.h"
#include "styles/style_window.h"
// AyuGram includes
#include "ayu/ui/ayu_userpic.h"
namespace HistoryView {
namespace {
@@ -2928,7 +2931,7 @@ void Poll::Header::paintRecentVoters(
p.setPen(pen);
p.setBrush(Qt::NoBrush);
PainterHighQualityEnabler hq(p);
p.drawEllipse(x, y, size, size);
AyuUserpic::PaintShape(p, x, y, size);
};
if (_owner->usesBubblePattern(context)) {
const auto add = st::lineWidth * 2;