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.

Ensure followed cursors are always visible (#8849)

Conrad Irwinb2f18cfe7192
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs
index 43a9c8f746c..d46f0f2a311 100644
--- a/crates/editor/src/element.rs
+++ b/crates/editor/src/element.rs
@@ -2091,7 +2091,7 @@ impl EditorElement {
editor.cursor_shape,
&snapshot.display_snapshot,
is_newest,
- true,
+ editor.leader_peer_id.is_none(),
None,
);
if is_newest {