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,