Merge branch 'main' into rename-element-traits
# Conflicts: # crates/gpui2/src/elements/uniform_list.rs # crates/ui2/src/components/context_menu.rs # crates/ui2/src/components/list.rs
This commit is contained in:
commit
3b918bfee8
34 changed files with 592 additions and 326 deletions
|
@ -1051,7 +1051,7 @@ impl EditorElement {
|
|||
}
|
||||
|
||||
if list_origin.y + list_height > text_bounds.lower_right().y {
|
||||
list_origin.y -= layout.position_map.line_height - list_height;
|
||||
list_origin.y -= layout.position_map.line_height + list_height;
|
||||
}
|
||||
|
||||
context_menu.draw(list_origin, available_space, cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue