pane: Fix tooltips of navigation buttons (#17035)
Tooltips for "Go Forward"/"Go Back" did not show the keybindings. Now they do. Release Notes: - N/A
This commit is contained in:
@@ -360,12 +360,7 @@ impl AssistantPanel {
|
||||
}
|
||||
}))
|
||||
.tooltip(move |cx| {
|
||||
cx.new_view(|cx| {
|
||||
let keybind =
|
||||
KeyBinding::for_action_in(&DeployHistory, &focus_handle, cx);
|
||||
Tooltip::new("Open History").key_binding(keybind)
|
||||
})
|
||||
.into()
|
||||
Tooltip::for_action_in("Open History", &DeployHistory, &focus_handle, cx)
|
||||
})
|
||||
.selected(
|
||||
pane.active_item()
|
||||
|
||||
Reference in New Issue
Block a user