summaryrefslogtreecommitdiff
path: root/library/src/math/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-08 10:54:04 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-08 11:02:27 +0100
commite5eab73374880077971f3f22acbdd3d302877128 (patch)
tree07aa926b27032d6bcd82486d664dfd4161ccbd3e /library/src/math/mod.rs
parent1b2b53ecb91a9bd7fb3493e471ae03cd142a7c03 (diff)
Streamline field names
Diffstat (limited to 'library/src/math/mod.rs')
-rw-r--r--library/src/math/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs
index d719cb1a..6f5e5907 100644
--- a/library/src/math/mod.rs
+++ b/library/src/math/mod.rs
@@ -242,7 +242,7 @@ impl LayoutMath for Content {
let prev_size = ctx.size;
ctx.map.apply(prev_map.clone());
ctx.size = ctx.styles().get(TextNode::SIZE);
- styled.sub().layout_math(ctx)?;
+ styled.body().layout_math(ctx)?;
ctx.size = prev_size;
ctx.map = prev_map;
return Ok(());