gpui2: Another round of fixups
This commit is contained in:
parent
945dba8099
commit
4af6ac25e9
6 changed files with 21 additions and 59 deletions
|
@ -71,9 +71,11 @@ impl Element for Overlay {
|
|||
.map(|child| child.layout(cx))
|
||||
.collect::<SmallVec<_>>();
|
||||
|
||||
let mut overlay_style = Style::default();
|
||||
overlay_style.position = Position::Absolute;
|
||||
overlay_style.display = Display::Flex;
|
||||
let overlay_style = Style {
|
||||
position: Position::Absolute,
|
||||
display: Display::Flex,
|
||||
..Style::default()
|
||||
};
|
||||
|
||||
let layout_id = cx.request_layout(&overlay_style, child_layout_ids.iter().copied());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue