From 631e95ee0be01dc7f5e5183e1429972aee37787f Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 2 Nov 2021 15:03:29 +0700 Subject: Move `viewport` argument to last position in `mouse_interaction` methods This keeps the order of the arguments consistent with `draw`. --- native/src/widget.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'native/src/widget.rs') diff --git a/native/src/widget.rs b/native/src/widget.rs index 6a2bbfbd..07214b16 100644 --- a/native/src/widget.rs +++ b/native/src/widget.rs @@ -174,8 +174,8 @@ where fn mouse_interaction( &self, _layout: Layout<'_>, - _viewport: &Rectangle, _cursor_position: Point, + _viewport: &Rectangle, ) -> mouse::Interaction { mouse::Interaction::Idle } -- cgit