Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix the `autoscroll_on_clicks` setting working incorrectly (#21362)
Haru Kimc1de606581b0
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rsindex 6e729a654d0..339401ee467 100644--- a/crates/editor/src/editor.rs+++ b/crates/editor/src/editor.rs@@ -2967,7 +2967,7 @@ impl Editor {auto_scroll = false;}}- auto_scroll &= !EditorSettings::get_global(cx).autoscroll_on_clicks;+ auto_scroll &= EditorSettings::get_global(cx).autoscroll_on_clicks;let point_to_delete: Option<usize> = {let selected_points: Vec<Selection<Point>> =