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| {
|
.tooltip(move |cx| {
|
||||||
cx.new_view(|cx| {
|
cx.new_view(|cx| {
|
||||||
Tooltip::new("Insert Selection")
|
Tooltip::new("Insert Selection").key_binding(
|
||||||
.meta("Press to quote via keyboard")
|
focus_handle.as_ref().and_then(|handle| {
|
||||||
.key_binding(focus_handle.as_ref().and_then(
|
|
||||||
|handle| {
|
|
||||||
KeyBinding::for_action_in(
|
KeyBinding::for_action_in(
|
||||||
&QuoteSelection,
|
&QuoteSelection,
|
||||||
&handle,
|
&handle,
|
||||||
cx,
|
cx,
|
||||||
)
|
)
|
||||||
},
|
}),
|
||||||
))
|
)
|
||||||
})
|
})
|
||||||
.into()
|
.into()
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue