diff options
Diffstat (limited to 'graphics/src/widget/slider.rs')
-rw-r--r-- | graphics/src/widget/slider.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/src/widget/slider.rs b/graphics/src/widget/slider.rs index 99f0a098..051e18b8 100644 --- a/graphics/src/widget/slider.rs +++ b/graphics/src/widget/slider.rs @@ -57,8 +57,8 @@ where height: 2.0, }, background: Background::Color(style.rail_colors.0), - border_radius: 0, - border_width: 0, + border_radius: 0.0, + border_width: 0.0, border_color: Color::TRANSPARENT, }, Primitive::Quad { @@ -69,8 +69,8 @@ where height: 2.0, }, background: Background::Color(style.rail_colors.1), - border_radius: 0, - border_width: 0, + border_radius: 0.0, + border_width: 0.0, border_color: Color::TRANSPARENT, }, ); @@ -82,7 +82,7 @@ where .shape { HandleShape::Circle { radius } => { - (f32::from(radius * 2), f32::from(radius * 2), radius) + (radius * 2.0, radius * 2.0, radius) } HandleShape::Rectangle { width, |