diff --git a/src/widgets/radio.rs b/src/widgets/radio.rs index 9a49d3e..2269e46 100644 --- a/src/widgets/radio.rs +++ b/src/widgets/radio.rs @@ -98,7 +98,6 @@ where context.gfx.draw_shape( Shape::stroked_circle( radius - stroke_options.line_width / 2, - color, kludgine::Origin::Center, stroke_options.colored(color), ) diff --git a/src/widgets/slider.rs b/src/widgets/slider.rs index c2fa160..2225956 100644 --- a/src/widgets/slider.rs +++ b/src/widgets/slider.rs @@ -272,9 +272,8 @@ where context.gfx.draw_shape( Shape::stroked_circle( spec.half_knob, - focus_color, Origin::Center, - StrokeOptions::px_wide(focus_ring_width), + StrokeOptions::px_wide(focus_ring_width).colored(focus_color), ) .translate_by(knob_center), );