summaryrefslogtreecommitdiffstats
path: root/native/src/widget/toggler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/widget/toggler.rs')
-rw-r--r--native/src/widget/toggler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/toggler.rs b/native/src/widget/toggler.rs
index fb7d2642..78e3d5ef 100644
--- a/native/src/widget/toggler.rs
+++ b/native/src/widget/toggler.rs
@@ -194,8 +194,8 @@ where
fn mouse_interaction(
&self,
layout: Layout<'_>,
- _viewport: &Rectangle,
cursor_position: Point,
+ _viewport: &Rectangle,
) -> mouse::Interaction {
if layout.bounds().contains(cursor_position) {
mouse::Interaction::Pointer