Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
fmt
Mikayla Maki6cf439e73412
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rsindex e5fcb024c6f..755c3091cbd 100644--- a/crates/editor/src/element.rs+++ b/crates/editor/src/element.rs@@ -2060,8 +2060,7 @@ impl Element<Editor> for EditorElement {let show_scrollbars = match cx.global::<Settings>().show_scrollbars {settings::ShowScrollbars::Auto => {- snapshot.has_scrollbar_info()- || editor.scroll_manager.scrollbars_visible()+ snapshot.has_scrollbar_info() || editor.scroll_manager.scrollbars_visible()}settings::ShowScrollbars::System => editor.scroll_manager.scrollbars_visible(),settings::ShowScrollbars::Always => true,