summaryrefslogtreecommitdiff
path: root/library/src/math/op.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/math/op.rs')
-rw-r--r--library/src/math/op.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/math/op.rs b/library/src/math/op.rs
index 6e52cea5..8cc007ea 100644
--- a/library/src/math/op.rs
+++ b/library/src/math/op.rs
@@ -38,9 +38,9 @@ impl OpNode {
impl LayoutMath for OpNode {
fn layout_math(&self, ctx: &mut MathContext) -> SourceResult<()> {
- let frame = ctx.layout_non_math(&TextNode(self.text.clone()).pack())?;
+ let frame = ctx.layout_content(&TextNode(self.text.clone()).pack())?;
ctx.push(
- FrameFragment::new(frame)
+ FrameFragment::new(ctx, frame)
.with_class(MathClass::Large)
.with_limits(self.limits),
);