MarkdownDocument: blocks open on a read of the text as it is, top lines wait for their read and keep their place in tall blocks
CI / site (push) Successful in 46s
CI / platforms (windows-latest) (push) Successful in 6m17s
CI / crate (push) Failing after 26m58s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-12 01:40:41 -04:00
1 parent fc181b44c2
commit 33ddb45f31
6 files changed
+195 -38

No files matched your search

+3 -1
View File
@@ -133,7 +133,9 @@ impl MarkdownDocument {
}
impl Render for MarkdownDocument {
fn render(&mut self, _: &mut Window, cx: &mut Context<Self>) -> impl IntoElement {
fn render(&mut self, window: &mut Window, cx: &mut Context<Self>) -> impl IntoElement {
// A top line asked before its text was read.
self.place_top(window, cx);
let colors = cx.theme().colors.clone();
let root = div()
.size_full()