diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-12 22:04:27 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-12 22:04:27 +0100 |
| commit | fd90736fb6239409210f845a8589ba3d6b849ef3 (patch) | |
| tree | c1993400b177f35b3622cc3fdf6c0f53d805bb69 /library/src/math | |
| parent | d99359dede8f366fc16d38c6166b97a0f56fe0cb (diff) | |
Support fractional width for `box`
Diffstat (limited to 'library/src/math')
| -rw-r--r-- | library/src/math/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs index 76dcdc2e..84af15cb 100644 --- a/library/src/math/mod.rs +++ b/library/src/math/mod.rs @@ -277,7 +277,7 @@ impl LayoutMath for Content { } if let Some(node) = self.to::<HNode>() { - if let Spacing::Relative(rel) = node.amount { + if let Spacing::Rel(rel) = node.amount { if rel.rel.is_zero() { ctx.push(MathFragment::Spacing(rel.abs.resolve(ctx.styles()))); } |
