Make all pickers respect mouse clicks

This commit is contained in:
Max Brunsfeld
2022-04-18 17:11:39 -07:00
parent c7527f92a4
commit 20657566b3
3 changed files with 45 additions and 36 deletions
+5
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]);