We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Slider
1 parent ebc5850 commit acdaa1cCopy full SHA for acdaa1c
crates/components/src/slider.rs
@@ -131,7 +131,7 @@ pub fn Slider<'a>(cx: Scope<'a, SliderProps>) -> Element<'a> {
131
let wheel_y = e.get_delta_y();
132
let progress_x = (value / 100.0) * cx.props.width;
133
134
- let mut x = progress_x + (wheel_y * 7.5);
+ let mut x = progress_x + (wheel_y / 4.0);
135
x = x.clamp(0.0, width);
136
137
let mut percentage = x / cx.props.width * 100.0;
0 commit comments