Ignore invisible layers for mouse events

This commit is contained in:
Conrad Irwin 2023-12-14 09:44:04 -07:00
parent da960fffe7
commit 17a80ca09b

View file

@ -890,7 +890,8 @@ impl Interactivity {
}); });
} }
if style if style.visibility == Visibility::Visible
&& style
.background .background
.as_ref() .as_ref()
.is_some_and(|fill| fill.color().is_some()) .is_some_and(|fill| fill.color().is_some())