Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Use correct color for folded diff indicator (#3942)

Marshall Bowers46a99feb972a
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs
index e96cb5df0ea..53a376c2842 100644
--- a/crates/editor/src/element.rs
+++ b/crates/editor/src/element.rs
@@ -795,7 +795,7 @@ impl EditorElement {
cx.paint_quad(quad(
highlight_bounds,
Corners::all(1. * line_height),
- gpui::yellow(), // todo!("use the right color")
+ cx.theme().status().modified,
Edges::default(),
transparent_black(),
));