summaryrefslogtreecommitdiff
path: root/src/library/math
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-06-12 17:16:14 +0200
committerLaurenz <laurmaedje@gmail.com>2022-06-12 17:26:18 +0200
commit6e3b1a2c80428d581d00b9d65e1c45401df2e210 (patch)
tree34d4b1c200851aa77af66b737bfe445e2da11f44 /src/library/math
parented6550fdb08eae92bffab6b6b137b1e0eebf62c6 (diff)
Make all fields of `Frame` private
Diffstat (limited to 'src/library/math')
-rw-r--r--src/library/math/rex.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/math/rex.rs b/src/library/math/rex.rs
index 47de4b3a..930829de 100644
--- a/src/library/math/rex.rs
+++ b/src/library/math/rex.rs
@@ -66,8 +66,8 @@ impl Layout for RexNode {
let mut backend = FrameBackend {
frame: {
let mut frame = Frame::new(size);
+ frame.set_baseline(baseline);
frame.apply_role(Role::Formula);
- frame.baseline = Some(baseline);
frame
},
baseline,