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.

project_panel: Set scrollbar track background from theme (#16546)

Eli Perkinsa1438a49dfb6
diff --git a/crates/project_panel/src/scrollbar.rs b/crates/project_panel/src/scrollbar.rs
index 8696b1eed2f..0da9db7cb79 100644
--- a/crates/project_panel/src/scrollbar.rs
+++ b/crates/project_panel/src/scrollbar.rs
@@ -77,7 +77,7 @@ impl gpui::Element for ProjectPanelScrollbar {
) {
cx.with_content_mask(Some(ContentMask { bounds }), |cx| {
let colors = cx.theme().colors();
- let scrollbar_background = colors.scrollbar_track_border;
+ let scrollbar_background = colors.scrollbar_track_background;
let thumb_background = colors.scrollbar_thumb_background;
cx.paint_quad(gpui::fill(bounds, scrollbar_background));