mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-31 20:41:45 +01:00
Qt: center compat circles
This commit is contained in:
parent
767eaaa82a
commit
e883f4f880
@ -82,8 +82,8 @@ public:
|
|||||||
|
|
||||||
QPainter painter(this);
|
QPainter painter(this);
|
||||||
setDevicePixelRatio(pixel_ratio);
|
setDevicePixelRatio(pixel_ratio);
|
||||||
painter.setPen(color);
|
painter.setPen(Qt::NoPen);
|
||||||
painter.setBrush(color);
|
painter.setBrush(color);
|
||||||
painter.drawEllipse(0, 0, 15 * pixel_ratio, 15 * pixel_ratio);
|
painter.drawEllipse(0, 0, width(), height());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user