diff options
author | 2023-06-01 10:46:33 +0200 | |
---|---|---|
committer | 2023-06-01 10:46:33 +0200 | |
commit | 9902e778167af8d4b108102619ee1ed8d0de0be5 (patch) | |
tree | 5a9e639b20efdf7317022dee26b387d6a707e165 /widget/src/slider.rs | |
parent | ce64dcbfd44b59db36575e92428a7cf9c6f58fc7 (diff) | |
download | iced-9902e778167af8d4b108102619ee1ed8d0de0be5.tar.gz iced-9902e778167af8d4b108102619ee1ed8d0de0be5.tar.bz2 iced-9902e778167af8d4b108102619ee1ed8d0de0be5.zip |
Add border_radius to slider rail
Diffstat (limited to 'widget/src/slider.rs')
-rw-r--r-- | widget/src/slider.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/slider.rs b/widget/src/slider.rs index 2851d8c3..c2498b87 100644 --- a/widget/src/slider.rs +++ b/widget/src/slider.rs @@ -403,7 +403,7 @@ pub fn draw<T, R>( width: offset + handle_width / 2.0, height: style.rail.width, }, - border_radius: Default::default(), + border_radius: style.rail.border_radius, border_width: 0.0, border_color: Color::TRANSPARENT, }, @@ -418,7 +418,7 @@ pub fn draw<T, R>( width: bounds.width - offset - handle_width / 2.0, height: style.rail.width, }, - border_radius: Default::default(), + border_radius: style.rail.border_radius, border_width: 0.0, border_color: Color::TRANSPARENT, }, |