Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Render an empty placeholder when not showing file icons in the project panel (#3897)
Marshall Bowers32cd4d778a43
diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rsindex e0bee14df27..6662014c465 100644--- a/crates/project_panel/src/project_panel.rs+++ b/crates/project_panel/src/project_panel.rs@@ -1395,7 +1395,7 @@ impl ProjectPanel {.child(if let Some(icon) = &icon {div().child(IconElement::from_path(icon.to_string()).color(Color::Muted))} else {- div()+ div().size(IconSize::default().rems()).invisible()}).child(if let (Some(editor), true) = (Some(&self.filename_editor), show_editor) {