Fix hover widget not relaying events when overlay is active

This commit is contained in:
Héctor Ramón Jiménez 2024-08-05 23:27:40 +02:00
parent 3a3fda83cd
commit ff0da4dc81
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -523,6 +523,7 @@ where
| mouse::Event::ButtonReleased(_) | mouse::Event::ButtonReleased(_)
) )
) || cursor.is_over(layout.bounds()) ) || cursor.is_over(layout.bounds())
|| self.is_top_overlay_active
{ {
let (top_layout, top_tree) = children.next().unwrap(); let (top_layout, top_tree) = children.next().unwrap();