mirror of
https://github.com/danbulant/cushy
synced 2026-06-24 17:12:11 +00:00
Updating Kludgine
This commit is contained in:
parent
b4caa38b83
commit
10d3ef401f
2 changed files with 1 additions and 3 deletions
|
|
@ -98,7 +98,6 @@ where
|
||||||
context.gfx.draw_shape(
|
context.gfx.draw_shape(
|
||||||
Shape::stroked_circle(
|
Shape::stroked_circle(
|
||||||
radius - stroke_options.line_width / 2,
|
radius - stroke_options.line_width / 2,
|
||||||
color,
|
|
||||||
kludgine::Origin::Center,
|
kludgine::Origin::Center,
|
||||||
stroke_options.colored(color),
|
stroke_options.colored(color),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -272,9 +272,8 @@ where
|
||||||
context.gfx.draw_shape(
|
context.gfx.draw_shape(
|
||||||
Shape::stroked_circle(
|
Shape::stroked_circle(
|
||||||
spec.half_knob,
|
spec.half_knob,
|
||||||
focus_color,
|
|
||||||
Origin::Center,
|
Origin::Center,
|
||||||
StrokeOptions::px_wide(focus_ring_width),
|
StrokeOptions::px_wide(focus_ring_width).colored(focus_color),
|
||||||
)
|
)
|
||||||
.translate_by(knob_center),
|
.translate_by(knob_center),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue