Make occlusion optional in Interactivity

This commit is contained in:
Antonio Scandurra 2024-03-01 15:48:54 +01:00
parent 1ba395a33a
commit 7b7a046b94
11 changed files with 221 additions and 169 deletions

View file

@ -241,7 +241,7 @@ impl<M: ManagedView> Element for PopoverMenu<M> {
child_occlusion: &mut Option<OcclusionId>,
cx: &mut ElementContext,
) {
self.with_element_state(cx, |_this, element_state, cx| {
self.with_element_state(cx, |_this, _element_state, cx| {
if let Some(mut child) = before_layout.child_element.take() {
child.paint(cx);
}