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 sometimes green (+) cursor style appearing when cmd-clicking to navigate and back (#34557)

Smit Barmaseffc69b07e587
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index e5ff7556159..6ad4fc0318a 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -20562,6 +20562,7 @@ impl Editor {
if event.blurred != self.focus_handle {
self.last_focused_descendant = Some(event.blurred);
}
+ self.selection_drag_state = SelectionDragState::None;
self.refresh_inlay_hints(InlayHintRefreshReason::ModifiersChanged(false), cx);
}