Make LSP panel scrollable

co-authored-by: Max <max@zed.dev>
This commit is contained in:
Kirill Bulatov 2023-09-21 10:59:19 +03:00
parent d42093e069
commit ead7155b0f

View file

@ -647,6 +647,7 @@ impl View for LspLogToolbarItemView {
Overlay::new(
MouseEventHandler::new::<Menu, _>(0, cx, move |_, cx| {
Flex::column()
.scrollable::<Self>(0, None, cx)
.with_children(menu_rows.into_iter().map(|row| {
Self::render_language_server_menu_item(
row.server_id,