summaryrefslogtreecommitdiff
path: root/library/src/math/stack.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/math/stack.rs')
-rw-r--r--library/src/math/stack.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/src/math/stack.rs b/library/src/math/stack.rs
index c8a1252c..ec233cd9 100644
--- a/library/src/math/stack.rs
+++ b/library/src/math/stack.rs
@@ -290,8 +290,10 @@ pub(super) fn stack(
let mut height = rows.len().saturating_sub(1) as f64 * gap;
let points = alignments(&rows);
- let rows: Vec<_> =
- rows.into_iter().map(|row| row.to_line_frame(ctx, &points)).collect();
+ let rows: Vec<_> = rows
+ .into_iter()
+ .map(|row| row.to_line_frame(ctx, &points, align))
+ .collect();
for row in &rows {
height += row.height();