mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-07 08:39:28 +00:00
Qt: center compat circles
This commit is contained in:
parent
767eaaa82a
commit
e883f4f880
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue