This commit is contained in:
Antonio Scandurra 2024-02-28 19:59:49 +01:00
parent 821960bf14
commit f5cd8247d1
14 changed files with 67 additions and 87 deletions

View file

@ -195,7 +195,7 @@ impl<M: ManagedView> Element for PopoverMenu<M> {
.as_mut()
.map(|child_element| child_element.before_layout(cx));
let layout_id = cx.before_layout(
let layout_id = cx.request_layout(
&gpui::Style::default(),
menu_layout_id.into_iter().chain(child_layout_id),
);