overlays: Use ellipse SDF for circles

This commit is contained in:
kd-11 2026-03-21 23:18:36 +03:00 committed by kd-11
parent 45bae0046a
commit 57e37862f4
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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>();