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.

Draw the scrollbar track left border

Marshall Bowersaa27e1bcece7
diff --git a/crates/editor2/src/element.rs b/crates/editor2/src/element.rs
index d881e8ff4c3..b77699b20e2 100644
--- a/crates/editor2/src/element.rs
+++ b/crates/editor2/src/element.rs
@@ -1282,7 +1282,12 @@ impl EditorElement {
track_bounds,
Corners::default(),
cx.theme().colors().scrollbar_track_background,
- Edges::default(), // todo!("style.track.border")
+ Edges {
+ top: Pixels::ZERO,
+ right: Pixels::ZERO,
+ bottom: Pixels::ZERO,
+ left: px(1.),
+ },
cx.theme().colors().scrollbar_track_border,
);
let scrollbar_settings = EditorSettings::get_global(cx).scrollbar;