Change default styling of Slider to leverage rounded borders

This commit is contained in:
Héctor Ramón Jiménez 2023-06-01 17:25:56 +02:00
parent 1e2965d542
commit ee0dd4c623
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -435,8 +435,8 @@ impl slider::StyleSheet for Theme {
palette.primary.base.color,
palette.secondary.base.color,
),
width: 2.0,
border_radius: Default::default(),
width: 4.0,
border_radius: 2.0.into(),
},
handle: slider::Handle {
color: palette.background.base.color,