Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix "Open a file or project to get started" placeholder text not always shown (#26044)
Felix Packard161f8a1dd21a
diff --git a/crates/workspace/src/pane.rs b/crates/workspace/src/pane.rsindex 45a58875634..d579624378c 100644--- a/crates/workspace/src/pane.rs+++ b/crates/workspace/src/pane.rs@@ -3300,7 +3300,7 @@ impl Render for Pane {pane.child(self.render_tab_bar(window, cx))}).child({- let has_worktrees = project.read(cx).worktrees(cx).next().is_some();+ let has_worktrees = project.read(cx).visible_worktrees(cx).next().is_some();// main contentdiv().flex_1()