summaryrefslogtreecommitdiff
path: root/library/src/math/root.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/root.rs
parente6400861ab5c4d7ab437901b2334e5822c2693a5 (diff)
More robust automatic math spacing
Diffstat (limited to 'library/src/math/root.rs')
-rw-r--r--library/src/math/root.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/math/root.rs b/library/src/math/root.rs
index 2d27bb11..e1c8d987 100644
--- a/library/src/math/root.rs
+++ b/library/src/math/root.rs
@@ -158,7 +158,7 @@ fn layout(
);
frame.push_frame(radicand_pos, radicand);
- ctx.push(frame);
+ ctx.push(FrameFragment::new(ctx, frame));
Ok(())
}