summaryrefslogtreecommitdiffstats
path: root/native/src/widget/slider.rs
diff options
context:
space:
mode:
authorLibravatar Robert Krahn <robert.krahn@gmail.com>2022-11-03 00:35:01 +0100
committerLibravatar Robert Krahn <robert.krahn@gmail.com>2022-11-03 22:48:26 +0100
commitc0596179bd8582e4f4b5289cdeee8de4fa3de464 (patch)
treeb1ed80cf49aa846ba7a93cc97128c3ec6eadd123 /native/src/widget/slider.rs
parentd222b5c8b0befab665c20ba0112b28199df0ae44 (diff)
downloadiced-c0596179bd8582e4f4b5289cdeee8de4fa3de464.tar.gz
iced-c0596179bd8582e4f4b5289cdeee8de4fa3de464.tar.bz2
iced-c0596179bd8582e4f4b5289cdeee8de4fa3de464.zip
non uniform border radius for quads
Diffstat (limited to 'native/src/widget/slider.rs')
-rw-r--r--native/src/widget/slider.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/native/src/widget/slider.rs b/native/src/widget/slider.rs
index 585d9c35..011454de 100644
--- a/native/src/widget/slider.rs
+++ b/native/src/widget/slider.rs
@@ -380,7 +380,7 @@ pub fn draw<T, R>(
width: bounds.width,
height: 2.0,
},
- border_radius: 0.0,
+ border_radius: 0.0.into(),
border_width: 0.0,
border_color: Color::TRANSPARENT,
},
@@ -395,7 +395,7 @@ pub fn draw<T, R>(
width: bounds.width,
height: 2.0,
},
- border_radius: 0.0,
+ border_radius: 0.0.into(),
border_width: 0.0,
border_color: Color::TRANSPARENT,
},
@@ -435,7 +435,7 @@ pub fn draw<T, R>(
width: handle_width,
height: handle_height,
},
- border_radius: handle_border_radius,
+ border_radius: handle_border_radius.into(),
border_width: style.handle.border_width,
border_color: style.handle.border_color,
},