mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
outline: Enable scrollbar in outline view picker (#46774)
Release Notes: - Added scrollbar in outline view picker
This commit is contained in:
parent
db2f2ad45a
commit
6c5da3df22
1 changed files with 3 additions and 1 deletions
|
|
@ -121,7 +121,9 @@ impl OutlineView {
|
|||
) -> OutlineView {
|
||||
let delegate = OutlineViewDelegate::new(cx.entity().downgrade(), outline, editor, cx);
|
||||
let picker = cx.new(|cx| {
|
||||
Picker::uniform_list(delegate, window, cx).max_height(Some(vh(0.75, window)))
|
||||
Picker::uniform_list(delegate, window, cx)
|
||||
.max_height(Some(vh(0.75, window)))
|
||||
.show_scrollbar(true)
|
||||
});
|
||||
OutlineView { picker }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue