Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
editor: Prevent blame popover from appearing when cursor is on different pane (#52603)
Tim Vermeulen4a0c02b69c5e
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rsindex 2cb159546b4..2fdb2686ee0 100644--- a/crates/editor/src/element.rs+++ b/crates/editor/src/element.rs@@ -1289,7 +1289,9 @@ impl EditorElement {cx.notify();}- if let Some((bounds, buffer_id, blame_entry)) = &position_map.inline_blame_bounds {+ if text_hovered+ && let Some((bounds, buffer_id, blame_entry)) = &position_map.inline_blame_bounds+ {let mouse_over_inline_blame = bounds.contains(&event.position);let mouse_over_popover = editor.inline_blame_popover