Address picker issues

This commit is contained in:
K Simmons 2022-08-09 15:51:17 -07:00
parent 6f180ed822
commit f5a6a112c8
9 changed files with 24 additions and 9 deletions

View file

@ -250,6 +250,8 @@ impl View for ThemeSelector {
}
fn on_focus_in(&mut self, _: AnyViewHandle, cx: &mut ViewContext<Self>) {
cx.focus(&self.picker);
if cx.is_self_focused() {
cx.focus(&self.picker);
}
}
}