mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-07 02:57:34 +00:00
Add missing tooltip for contacts menu button
Co-authored-by: Joseph Lyons <joseph@zed.dev>
This commit is contained in:
parent
d33d27faa4
commit
40aee8d7bc
1 changed files with 7 additions and 0 deletions
|
@ -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…
Reference in a new issue