Make all pickers respect mouse clicks

This commit is contained in:
Max Brunsfeld 2022-04-14 18:28:26 -07:00
parent c7527f92a4
commit 20657566b3
3 changed files with 45 additions and 36 deletions

View file

@ -1,3 +1,6 @@
#[derive(Clone)]
pub struct SelectIndex(pub usize);
gpui::actions!(
menu,
[
@ -9,3 +12,5 @@ gpui::actions!(
SelectLast
]
);
gpui::impl_internal_actions!(menu, [SelectIndex]);