Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add deleted color to project panel (#51553)
Vinh Tran5eb4d334f29e
diff --git a/crates/editor/src/items.rs b/crates/editor/src/items.rsindex e0502e4d998..b741cfa6c80 100644--- a/crates/editor/src/items.rs+++ b/crates/editor/src/items.rs@@ -1972,6 +1972,8 @@ pub fn entry_git_aware_label_color(git_status: GitSummary, ignored: bool, selectlet tracked = git_status.index + git_status.worktree;if git_status.conflict > 0 {Color::Conflict+ } else if tracked.deleted > 0 {+ Color::Deleted} else if tracked.modified > 0 {Color::Modified} else if tracked.added > 0 || git_status.untracked > 0 {