summaryrefslogtreecommitdiffstats
path: root/style/src/slider.rs
diff options
context:
space:
mode:
Diffstat (limited to 'style/src/slider.rs')
-rw-r--r--style/src/slider.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/style/src/slider.rs b/style/src/slider.rs
index bb36a176..d5db1853 100644
--- a/style/src/slider.rs
+++ b/style/src/slider.rs
@@ -15,8 +15,8 @@ pub struct Appearance {
pub struct Rail {
/// The colors of the rail of the slider.
pub colors: (Color, Color),
- /// The height of a slider rail and the width of a vertical slider.
- pub size: f32,
+ /// The width of the stroke of a slider rail.
+ pub width: f32,
/// The border radius of the slider.
pub border_radius: f32,
}