Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
editor: Defer rendering the git blame popover until after the markdown is parsed (#52231)
Tim Vermeulen7d365ef26c59
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rsindex e2b8a49f9ea..392a67bb0d4 100644--- a/crates/editor/src/element.rs+++ b/crates/editor/src/element.rs@@ -8696,6 +8696,10 @@ fn render_blame_entry_popover(window: &mut Window,cx: &mut App,) -> Option<AnyElement> {+ if markdown.read(cx).is_parsing() {+ return None;+ }+let renderer = cx.global::<GlobalBlameRenderer>().0.clone();let blame = blame.read(cx);let repository = blame.repository(cx, buffer)?;