summaryrefslogtreecommitdiffstats
path: root/native/src/widget/slider.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/widget/slider.rs')
-rw-r--r--native/src/widget/slider.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/slider.rs b/native/src/widget/slider.rs
index ee9db6cf..01053081 100644
--- a/native/src/widget/slider.rs
+++ b/native/src/widget/slider.rs
@@ -342,8 +342,8 @@ where
fn mouse_interaction(
&self,
layout: Layout<'_>,
- _viewport: &Rectangle,
cursor_position: Point,
+ _viewport: &Rectangle,
) -> mouse::Interaction {
let bounds = layout.bounds();
let is_mouse_over = bounds.contains(cursor_position);