summaryrefslogtreecommitdiff
path: root/crates/typst-layout/src/math/stretch.rs
diff options
context:
space:
mode:
authorMax <max@mkor.je>2025-06-03 14:08:18 +0000
committerGitHub <noreply@github.com>2025-06-03 14:08:18 +0000
commitdd95f7d59474800a83a4d397dd13e34de35d56be (patch)
treecbdb7215ada833300cf07a2d138feba9e61173f2 /crates/typst-layout/src/math/stretch.rs
parent1b399646c270d518af250db3afb7ba35992e8751 (diff)
Fix bottom accent positioning in math (#6187)
Diffstat (limited to 'crates/typst-layout/src/math/stretch.rs')
-rw-r--r--crates/typst-layout/src/math/stretch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-layout/src/math/stretch.rs b/crates/typst-layout/src/math/stretch.rs
index f45035e2..6157d0c5 100644
--- a/crates/typst-layout/src/math/stretch.rs
+++ b/crates/typst-layout/src/math/stretch.rs
@@ -278,7 +278,7 @@ fn assemble(
}
let accent_attach = match axis {
- Axis::X => frame.width() / 2.0,
+ Axis::X => (frame.width() / 2.0, frame.width() / 2.0),
Axis::Y => base.accent_attach,
};