Remove border_width support in slider::Rail

This commit is contained in:
Héctor Ramón Jiménez 2023-04-12 05:21:46 +02:00
parent 45cfce3f6d
commit c2cc9a835d
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 12 additions and 18 deletions

View file

@ -19,10 +19,6 @@ pub struct Rail {
pub size: f32,
/// The border radius of the slider.
pub border_radius: f32,
/// The border width of the slider.
pub border_width: f32,
/// The border [`Color`] of the slider.
pub border_color: Color,
}
/// The appearance of the handle of a slider.

View file

@ -423,8 +423,6 @@ impl slider::StyleSheet for Theme {
),
size: 2.0,
border_radius: 0.0,
border_width: 0.0,
border_color: Color::TRANSPARENT,
},
handle: slider::Handle {
color: palette.background.base.color,