From e9ff2d6463bf26cb0bbafb747bf8a77800687e3f Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 2 Feb 2023 16:47:10 +0100 Subject: More robust automatic math spacing --- library/src/math/attach.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'library/src/math/attach.rs') 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(()) } -- cgit v1.2.3