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.

editor: Fix bad `hide_mouse_cursor` call in `find_all_references` (#28810)

Smit Barmase5619a3e6182d
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index 18ca6996036..58f6e549a42 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -13723,8 +13723,6 @@ impl Editor {
window: &mut Window,
cx: &mut Context<Self>,
) -> Option<Task<Result<Navigated>>> {
- self.hide_mouse_cursor(&HideMouseCursorOrigin::TypingAction);
-
let selection = self.selections.newest::<usize>(cx);
let multi_buffer = self.buffer.read(cx);
let head = selection.head();