mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
fix: poll avatar rounding
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user