Merge pull request #2203 from zed-industries/collab-ui-fixes

Fix minor issues with new collab UI
This commit is contained in:
Max Brunsfeld
2023-02-22 14:22:05 -08:00
committed by GitHub
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -418,7 +418,7 @@
{
"bindings": {
"ctrl-alt-cmd-f": "workspace::FollowNextCollaborator",
"cmd-shift-c": "collab::ToggleCollaborationMenu",
"cmd-shift-c": "collab::ToggleContactsMenu",
"cmd-alt-i": "zed::DebugElements"
}
},
@@ -349,6 +349,13 @@ impl CollabTitlebarItem {
.on_click(MouseButton::Left, move |_, cx| {
cx.dispatch_action(ToggleContactsMenu);
})
.with_tooltip::<ToggleContactsMenu, _>(
0,
"Show contacts menu".into(),
Some(Box::new(ToggleContactsMenu)),
theme.tooltip.clone(),
cx,
)
.aligned()
.boxed(),
)