summaryrefslogtreecommitdiff
path: root/library/src/math/row.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-29 16:14:04 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-29 17:44:50 +0100
commit60dfe8f8931ca0a18f07e281bdd9751fe61e5adf (patch)
tree5184c386d8ec779b9a91f3f2a7da80dab2f06aae /library/src/math/row.rs
parent8fbfa594e072aba384becaf5f4bd358bcc2ebc68 (diff)
Fix math styling
Diffstat (limited to 'library/src/math/row.rs')
-rw-r--r--library/src/math/row.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/math/row.rs b/library/src/math/row.rs
index f75aed99..bc013182 100644
--- a/library/src/math/row.rs
+++ b/library/src/math/row.rs
@@ -77,7 +77,7 @@ impl MathRow {
let mut frame = Frame::new(Size::zero());
let fragments = std::mem::take(&mut self.0);
- let leading = ctx.outer.chain(&ctx.map).get(ParNode::LEADING);
+ let leading = ctx.styles().get(ParNode::LEADING);
let rows: Vec<_> = fragments
.split(|frag| matches!(frag, MathFragment::Linebreak))
.map(|slice| Self(slice.to_vec()))