mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-28 21:32:39 +00:00
Allow completions to bleed off the editor's bounds
This commit is contained in:
parent
d246a39b57
commit
426ca94b52
1 changed files with 4 additions and 1 deletions
|
@ -897,7 +897,10 @@ impl Element for EditorElement {
|
|||
completions_list.layout(
|
||||
SizeConstraint {
|
||||
min: Vector2F::zero(),
|
||||
max: vec2f(800., (12. * line_height).min((size.y() - line_height) / 2.)),
|
||||
max: vec2f(
|
||||
f32::INFINITY,
|
||||
(12. * line_height).min((size.y() - line_height) / 2.),
|
||||
),
|
||||
},
|
||||
cx,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue