diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-02 16:47:10 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-02 16:47:10 +0100 |
| commit | e9ff2d6463bf26cb0bbafb747bf8a77800687e3f (patch) | |
| tree | 810d28ba35557acacf987d08c2000e2e643cbe4e /library/src/math/underover.rs | |
| parent | e6400861ab5c4d7ab437901b2334e5822c2693a5 (diff) | |
More robust automatic math spacing
Diffstat (limited to 'library/src/math/underover.rs')
| -rw-r--r-- | library/src/math/underover.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/src/math/underover.rs b/library/src/math/underover.rs index 3a47059c..a1c27e59 100644 --- a/library/src/math/underover.rs +++ b/library/src/math/underover.rs @@ -270,7 +270,8 @@ fn layout( baseline = rows.len() - 1; } - ctx.push(stack(ctx, rows, Align::Center, gap, baseline)); + let frame = stack(ctx, rows, Align::Center, gap, baseline); + ctx.push(FrameFragment::new(ctx, frame)); Ok(()) } |
