Introduce Panel::can_zoom
This commit is contained in:
parent
ba50b35de6
commit
c03e470fe6
3 changed files with 26 additions and 6 deletions
|
@ -1373,6 +1373,10 @@ impl workspace::dock::Panel for ProjectPanel {
|
|||
cx.global::<Settings>().project_panel.default_width
|
||||
}
|
||||
|
||||
fn can_zoom(&self, _cx: &gpui::WindowContext) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
fn icon_path(&self) -> &'static str {
|
||||
"icons/folder_tree_16.svg"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue