summaryrefslogtreecommitdiffstats
path: root/widget/src/vertical_slider.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-07 21:02:17 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-07 21:02:17 +0100
commit7ece5eea509f3595432babfc7729701f2e063b21 (patch)
tree42502a52270f24d1d323a268a36c689cd92aec82 /widget/src/vertical_slider.rs
parentb8f05eb8dd0394e308385796c229cfc5bc4f3a73 (diff)
downloadiced-7ece5eea509f3595432babfc7729701f2e063b21.tar.gz
iced-7ece5eea509f3595432babfc7729701f2e063b21.tar.bz2
iced-7ece5eea509f3595432babfc7729701f2e063b21.zip
Implement additional helpers for `Border` and `container::Appearance`
Diffstat (limited to 'widget/src/vertical_slider.rs')
-rw-r--r--widget/src/vertical_slider.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/vertical_slider.rs b/widget/src/vertical_slider.rs
index 103c3b7d..67a9f4e6 100644
--- a/widget/src/vertical_slider.rs
+++ b/widget/src/vertical_slider.rs
@@ -397,7 +397,7 @@ where
width: style.rail.width,
height: offset + handle_width / 2.0,
},
- border: Border::with_radius(style.rail.border_radius),
+ border: Border::rounded(style.rail.border_radius),
..renderer::Quad::default()
},
style.rail.colors.1,
@@ -411,7 +411,7 @@ where
width: style.rail.width,
height: bounds.height - offset - handle_width / 2.0,
},
- border: Border::with_radius(style.rail.border_radius),
+ border: Border::rounded(style.rail.border_radius),
..renderer::Quad::default()
},
style.rail.colors.0,