summaryrefslogtreecommitdiff
path: root/library/src/math/attach.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-02 16:47:10 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-02 16:47:10 +0100
commite9ff2d6463bf26cb0bbafb747bf8a77800687e3f (patch)
tree810d28ba35557acacf987d08c2000e2e643cbe4e /library/src/math/attach.rs
parente6400861ab5c4d7ab437901b2334e5822c2693a5 (diff)
More robust automatic math spacing
Diffstat (limited to 'library/src/math/attach.rs')
-rw-r--r--library/src/math/attach.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/math/attach.rs b/library/src/math/attach.rs
index 110ea4b7..8a1644be 100644
--- a/library/src/math/attach.rs
+++ b/library/src/math/attach.rs
@@ -231,7 +231,7 @@ fn scripts(
frame.push_frame(sub_pos, sub);
}
- ctx.push(FrameFragment::new(frame).with_class(class));
+ ctx.push(FrameFragment::new(ctx, frame).with_class(class));
Ok(())
}
@@ -284,7 +284,7 @@ fn limits(
frame.push_frame(bottom_pos, bottom);
}
- ctx.push(FrameFragment::new(frame).with_class(class));
+ ctx.push(FrameFragment::new(ctx, frame).with_class(class));
Ok(())
}