onboarding: Use a picker for the font dropdowns (#35638)

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-08-05 11:38:08 -03:00 committed by GitHub
parent 351e8c4cd9
commit 5940ed979f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 272 additions and 76 deletions

View file

@ -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)