Add tooltip to follow collaborators

This commit is contained in:
Antonio Scandurra
2022-06-15 17:08:39 +02:00
parent 8a146e49ca
commit 516bd13474
6 changed files with 86 additions and 72 deletions
+1 -1
View File
@@ -883,7 +883,7 @@ impl EditorElement {
})
.with_cursor_style(CursorStyle::PointingHand)
.on_click(move |_, _, cx| cx.dispatch_action(jump_action.clone()))
.with_tooltip(
.with_tooltip::<JumpIcon, _>(
*key,
"Jump to Buffer".to_string(),
Some(Box::new(crate::OpenExcerpts)),