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 in same buffer (#34638)
Smit Barmase0f72d7ed52ba
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rsindex e77be3398ca..fef185bb156 100644--- a/crates/editor/src/element.rs+++ b/crates/editor/src/element.rs@@ -949,6 +949,7 @@ impl EditorElement {if !pending_nonempty_selections && hovered_link_modifier && text_hitbox.is_hovered(window) {let point = position_map.point_for_position(event.up.position);editor.handle_click_hovered_link(point, event.modifiers(), window, cx);+ editor.selection_drag_state = SelectionDragState::None;cx.stop_propagation();}