mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-06 06:55:02 +00:00
overlays: Use ellipse SDF for circles
This commit is contained in:
parent
45bae0046a
commit
57e37862f4
2 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ namespace rsx::overlays
|
|||
}
|
||||
|
||||
auto ellipse_part = std::make_unique<rounded_rect>();
|
||||
auto circle_part = std::make_unique<rounded_rect>();
|
||||
auto circle_part = std::make_unique<ellipse>();
|
||||
|
||||
ellipse_part->set_size(dim * 2, dim / 2);
|
||||
ellipse_part->set_pos(0, dim / 4);
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ namespace rsx::overlays
|
|||
// Base components
|
||||
auto background = std::make_unique<rounded_rect>();
|
||||
auto foreground = std::make_unique<rounded_rect>();
|
||||
auto indicator = std::make_unique<rounded_rect>();
|
||||
auto indicator = std::make_unique<ellipse>();
|
||||
auto value_label = std::make_unique<label>();
|
||||
auto min_label = std::make_unique<label>();
|
||||
auto max_label = std::make_unique<label>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue