Merge pull request #2203 from zed-industries/collab-ui-fixes
Fix minor issues with new collab UI
This commit is contained in:
commit
d49e35f947
2 changed files with 8 additions and 1 deletions
|
@ -418,7 +418,7 @@
|
||||||
{
|
{
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-alt-cmd-f": "workspace::FollowNextCollaborator",
|
"ctrl-alt-cmd-f": "workspace::FollowNextCollaborator",
|
||||||
"cmd-shift-c": "collab::ToggleCollaborationMenu",
|
"cmd-shift-c": "collab::ToggleContactsMenu",
|
||||||
"cmd-alt-i": "zed::DebugElements"
|
"cmd-alt-i": "zed::DebugElements"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -349,6 +349,13 @@ impl CollabTitlebarItem {
|
||||||
.on_click(MouseButton::Left, move |_, cx| {
|
.on_click(MouseButton::Left, move |_, cx| {
|
||||||
cx.dispatch_action(ToggleContactsMenu);
|
cx.dispatch_action(ToggleContactsMenu);
|
||||||
})
|
})
|
||||||
|
.with_tooltip::<ToggleContactsMenu, _>(
|
||||||
|
0,
|
||||||
|
"Show contacts menu".into(),
|
||||||
|
Some(Box::new(ToggleContactsMenu)),
|
||||||
|
theme.tooltip.clone(),
|
||||||
|
cx,
|
||||||
|
)
|
||||||
.aligned()
|
.aligned()
|
||||||
.boxed(),
|
.boxed(),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue