Some more woogaloo around action dispatch

Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
Piotr Osiewicz
2023-11-09 18:51:41 +01:00
co-authored by Conrad
parent 194d615691
commit a1d9f351db
3 changed files with 54 additions and 10 deletions
@@ -33,6 +33,9 @@ pub fn init(cx: &mut AppContext) {
return None;
};
let available_actions = cx.available_actions();
dbg!(&available_actions);
Some(cx.build_view(|cx| {
let delegate =
CommandPaletteDelegate::new(cx.view().downgrade(), focus_handle);