summaryrefslogtreecommitdiff
path: root/crates/typst-layout/src/math/shared.rs
diff options
context:
space:
mode:
authorMax <me@mkor.je>2024-12-08 16:55:34 +0000
committerGitHub <noreply@github.com>2024-12-08 16:55:34 +0000
commit468a60103dca9c6788be2207c9785d5ba771c800 (patch)
treed8f8e9597e2f5d1ed1e38d8d9b1e5a81d211fd10 /crates/typst-layout/src/math/shared.rs
parent57f7c167d867094660077d3da75a0207497aa36e (diff)
Fix multiline annotations in over- elems in math changing the baseline (#5459)
Diffstat (limited to 'crates/typst-layout/src/math/shared.rs')
-rw-r--r--crates/typst-layout/src/math/shared.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/typst-layout/src/math/shared.rs b/crates/typst-layout/src/math/shared.rs
index 13477c10..74e62e8f 100644
--- a/crates/typst-layout/src/math/shared.rs
+++ b/crates/typst-layout/src/math/shared.rs
@@ -121,7 +121,6 @@ pub fn stack(
alternator: LeftRightAlternator,
minimum_ascent_descent: Option<(Abs, Abs)>,
) -> Frame {
- let rows: Vec<_> = rows.into_iter().flat_map(|r| r.rows()).collect();
let AlignmentResult { points, width } = alignments(&rows);
let rows: Vec<_> = rows
.into_iter()