From 46a99feb972a51f942147a84517cc663871915b7 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Mon, 8 Jan 2024 12:58:04 -0500 Subject: [PATCH] Use correct color for folded diff indicator (#3942) This PR updates the indicator for changes within a fold to use the correct color from the theme: Screenshot 2024-01-08 at 12 52 56 PM Release Notes: - Updated the color of the indicator for a fold containing modified lines. --- crates/editor/src/element.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs index e96cb5df0eab53d4bf691c4d13a3e20928856ba5..53a376c2842937a6029cfe6c848b9998153a8d77 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(), ));