aboutsummaryrefslogtreecommitdiff
path: root/src/slider.rs
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2026-02-03 23:59:14 +0100
committerPolesznyák Márk <contact@pml68.dev>2026-02-03 23:59:14 +0100
commita60c7bb059f8ec2f84a43ec5501754a89980c604 (patch)
tree1ee70f746f3796d85f82e60a43a6c15dd725229a /src/slider.rs
parentchore: bump MSRV to match iced's (diff)
downloadiced_material-a60c7bb059f8ec2f84a43ec5501754a89980c604.tar.gz
refactor: increase border radius of rounded widgets just in case
Diffstat (limited to 'src/slider.rs')
-rw-r--r--src/slider.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slider.rs b/src/slider.rs
index 2146acb..11639f2 100644
--- a/src/slider.rs
+++ b/src/slider.rs
@@ -27,7 +27,7 @@ pub fn styled(left: Color, right: Color, handle_radius: f32) -> Style {
rail: Rail {
backgrounds: (left.into(), right.into()),
width: 8.0,
- border: border::rounded(400),
+ border: border::rounded(9999),
},
handle: Handle {
shape: HandleShape::Circle {