Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

onboarding: Fix onboarding font context menu not scrolling to selected entry open (#36080)

Anthony Eid13a2c5338146
diff --git a/crates/onboarding/src/editing_page.rs b/crates/onboarding/src/editing_page.rs
index 13b4f6a5c13..e8fbc36c304 100644
--- a/crates/onboarding/src/editing_page.rs
+++ b/crates/onboarding/src/editing_page.rs
@@ -573,7 +573,7 @@ fn font_picker(
) -> FontPicker {
let delegate = FontPickerDelegate::new(current_font, on_font_changed, cx);
- Picker::list(delegate, window, cx)
+ Picker::uniform_list(delegate, window, cx)
.show_scrollbar(true)
.width(rems_from_px(210.))
.max_height(Some(rems(20.).into()))