mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-07 17:26:56 +00:00
assistant: Remove meta description from quote selection tooltip (#16412)
The original idea was for the keybinding to be within the description, but given it's already inline with the title, I figure we don't need this anymore—cleaning it up a bit! --- Release Notes: - N/A
This commit is contained in:
parent
e4a591dcbd
commit
7c268d0c6d
1 changed files with 9 additions and 11 deletions
|
@ -3745,17 +3745,15 @@ impl Render for ContextEditor {
|
|||
})
|
||||
.tooltip(move |cx| {
|
||||
cx.new_view(|cx| {
|
||||
Tooltip::new("Insert Selection")
|
||||
.meta("Press to quote via keyboard")
|
||||
.key_binding(focus_handle.as_ref().and_then(
|
||||
|handle| {
|
||||
KeyBinding::for_action_in(
|
||||
&QuoteSelection,
|
||||
&handle,
|
||||
cx,
|
||||
)
|
||||
},
|
||||
))
|
||||
Tooltip::new("Insert Selection").key_binding(
|
||||
focus_handle.as_ref().and_then(|handle| {
|
||||
KeyBinding::for_action_in(
|
||||
&QuoteSelection,
|
||||
&handle,
|
||||
cx,
|
||||
)
|
||||
}),
|
||||
)
|
||||
})
|
||||
.into()
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue