Fix incorrect layout in mouse_interaction for Tooltip

This commit is contained in:
Héctor Ramón Jiménez 2022-08-26 19:44:22 +02:00
parent da7e859840
commit a5209f24e4
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -159,7 +159,7 @@ where
) -> mouse::Interaction {
self.content.as_widget().mouse_interaction(
&tree.children[0],
layout.children().next().unwrap(),
layout,
cursor_position,
viewport,
renderer,