Allow toggling collaboration menu from the keyboard

This commit is contained in:
Max Brunsfeld 2022-10-12 14:14:03 -07:00
parent 3bb1f0097f
commit 89f05ada0b
5 changed files with 32 additions and 10 deletions

View file

@ -1173,6 +1173,10 @@ impl Workspace {
cx.notify();
}
pub fn titlebar_item(&self) -> Option<AnyViewHandle> {
self.titlebar_item.clone()
}
/// Call the given callback with a workspace whose project is local.
///
/// If the given workspace has a local project, then it will be passed