Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Disable minimap in the inspector (#34607)
Finn Eversad2bfa3edd09
diff --git a/crates/inspector_ui/src/div_inspector.rs b/crates/inspector_ui/src/div_inspector.rsindex 7d162bcc355..bd395aa01bc 100644--- a/crates/inspector_ui/src/div_inspector.rs+++ b/crates/inspector_ui/src/div_inspector.rs@@ -1,5 +1,8 @@use anyhow::{Result, anyhow};-use editor::{Bias, CompletionProvider, Editor, EditorEvent, EditorMode, ExcerptId, MultiBuffer};+use editor::{+ Bias, CompletionProvider, Editor, EditorEvent, EditorMode, ExcerptId, MinimapVisibility,+ MultiBuffer,+};use fuzzy::StringMatch;use gpui::{AsyncWindowContext, DivInspectorState, Entity, InspectorElementId, IntoElement,@@ -499,6 +502,7 @@ impl DivInspector {editor.set_show_git_diff_gutter(false, cx);editor.set_show_runnables(false, cx);editor.set_show_edit_predictions(Some(false), window, cx);+ editor.set_minimap_visibility(MinimapVisibility::Disabled, window, cx);editor})}