Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix project panel icon bouncing when renaming (#8988)
Floyd Wang01fe3eec4d73
diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rsindex b7ffcc0a1cf..0dd6c6ddb2d 100644--- a/crates/project_panel/src/project_panel.rs+++ b/crates/project_panel/src/project_panel.rs@@ -1426,9 +1426,11 @@ impl ProjectPanel {}).child(if let (Some(editor), true) = (Some(&self.filename_editor), show_editor) {- div().h_full().w_full().child(editor.clone())+ h_flex().h_6().w_full().child(editor.clone())} else {- div().child(Label::new(file_name).color(filename_text_color))+ div()+ .h_6()+ .child(Label::new(file_name).color(filename_text_color))}.ml_1(),)