Introduce Panel::can_zoom

This commit is contained in:
Antonio Scandurra 2023-05-15 17:10:30 +02:00
parent ba50b35de6
commit c03e470fe6
3 changed files with 26 additions and 6 deletions

View file

@ -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"
}