From 10d3ef401fd0f710a35b4e08645dbcd88bcaca8c Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Fri, 15 Dec 2023 14:00:19 -0800 Subject: [PATCH] Updating Kludgine --- src/widgets/radio.rs | 1 - src/widgets/slider.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) 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), );