onboarding: Use a picker for the font dropdowns (#35638)
Release Notes: - N/A
This commit is contained in:
parent
351e8c4cd9
commit
5940ed979f
6 changed files with 272 additions and 76 deletions
|
@ -80,6 +80,7 @@ where
|
|||
{
|
||||
fn render(self, _window: &mut Window, _cx: &mut App) -> impl IntoElement {
|
||||
let picker = self.picker.clone();
|
||||
|
||||
PopoverMenu::new("popover-menu")
|
||||
.menu(move |_window, _cx| Some(picker.clone()))
|
||||
.trigger_with_tooltip(self.trigger, self.tooltip)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue