From f336db66127d01920ada34056cbf7c041eaaf2b8 Mon Sep 17 00:00:00 2001 From: Nick Senger Date: Tue, 30 Aug 2022 15:31:26 -0700 Subject: [PATCH] fix: pure tooltip mouse interaction --- pure/src/widget/tooltip.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pure/src/widget/tooltip.rs b/pure/src/widget/tooltip.rs index cbc3472272..7efbb91034 100644 --- a/pure/src/widget/tooltip.rs +++ b/pure/src/widget/tooltip.rs @@ -153,7 +153,7 @@ where ) -> mouse::Interaction { self.content.as_widget().mouse_interaction( &tree.children[0], - layout.children().next().unwrap(), + layout, cursor_position, viewport, renderer,