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 scrolling drag interrupted on gutter hovering (#28924)

Smit Barmase5ebb18c47e5f
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs
index 0c964723077..66351b73735 100644
--- a/crates/editor/src/element.rs
+++ b/crates/editor/src/element.rs
@@ -1007,9 +1007,6 @@ impl EditorElement {
} else {
editor.hide_hovered_link(cx);
hover_at(editor, None, window, cx);
- if gutter_hovered {
- cx.stop_propagation();
- }
}
}