diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index e1bba12b42..6d4785ccad 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -5520,7 +5520,7 @@ impl Editor { } pub fn show_local_cursors(&self) -> bool { - self.show_local_cursors + self.show_local_cursors && self.focused } fn on_buffer_changed(&mut self, _: ModelHandle, cx: &mut ViewContext) {