Make occlusion optional in Interactivity
This commit is contained in:
parent
1ba395a33a
commit
7b7a046b94
11 changed files with 221 additions and 169 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue