Remove assistant hints (#21171)
This reverts #20824 and #20899. After adding them last week we came to the conclusion that the hints are too distracting in everyday use, see #21128 for more details. Release Notes: - N/A
This commit is contained in:
parent
385c447bbe
commit
93533ed235
12 changed files with 93 additions and 301 deletions
|
@ -3875,13 +3875,13 @@ impl OutlinePanel {
|
|||
.child({
|
||||
let keystroke = match self.position(cx) {
|
||||
DockPosition::Left => {
|
||||
cx.keystroke_text_for_action(&workspace::ToggleLeftDock)
|
||||
cx.keystroke_text_for(&workspace::ToggleLeftDock)
|
||||
}
|
||||
DockPosition::Bottom => {
|
||||
cx.keystroke_text_for_action(&workspace::ToggleBottomDock)
|
||||
cx.keystroke_text_for(&workspace::ToggleBottomDock)
|
||||
}
|
||||
DockPosition::Right => {
|
||||
cx.keystroke_text_for_action(&workspace::ToggleRightDock)
|
||||
cx.keystroke_text_for(&workspace::ToggleRightDock)
|
||||
}
|
||||
};
|
||||
Label::new(format!("Toggle this panel with {keystroke}"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue