Some more woogaloo around action dispatch
Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue