Use cmd-9
and cmd-shift-9
to toggle contacts panel focus/visibility
This commit is contained in:
parent
77b524c83e
commit
c7802af88b
4 changed files with 31 additions and 5 deletions
|
@ -764,6 +764,10 @@ impl SidebarItem for ContactsPanel {
|
|||
.incoming_contact_requests()
|
||||
.is_empty()
|
||||
}
|
||||
|
||||
fn contains_focused_view(&self, cx: &AppContext) -> bool {
|
||||
self.filter_editor.is_focused(cx)
|
||||
}
|
||||
}
|
||||
|
||||
fn render_icon_button(style: &IconButton, svg_path: &'static str) -> impl Element {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue