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.

Make scrollbars auto-hide by default (#38340)

Finn Eversfb60f710e341
diff --git a/crates/ui/src/components/scrollbar.rs b/crates/ui/src/components/scrollbar.rs
index 6885a11c516..f1d97fa455d 100644
--- a/crates/ui/src/components/scrollbar.rs
+++ b/crates/ui/src/components/scrollbar.rs
@@ -35,11 +35,11 @@ pub mod scrollbars {
pub enum ShowScrollbar {
/// Show the scrollbar if there's important information or
/// follow the system's configured behavior.
+ #[default]
Auto,
/// Match the system's configured behavior.
System,
/// Always show the scrollbar.
- #[default]
Always,
/// Never show the scrollbar.
Never,