diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-12 12:53:50 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-12 13:20:36 +0100 |
| commit | ad05ba59256a67f429b71a8aba2cd92ed2cafac7 (patch) | |
| tree | 019ccf26f7308d907c042624ccbb647f76d3491b /library/src/math/delimited.rs | |
| parent | 2720a44b965d29e9c3453c732e38554fdb6413bb (diff) | |
Spans in math
Diffstat (limited to 'library/src/math/delimited.rs')
| -rw-r--r-- | library/src/math/delimited.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/src/math/delimited.rs b/library/src/math/delimited.rs index 6f468af7..2b9ee5ed 100644 --- a/library/src/math/delimited.rs +++ b/library/src/math/delimited.rs @@ -89,7 +89,9 @@ fn scale( ) { let glyph = match fragment { MathFragment::Glyph(glyph) => glyph.clone(), - MathFragment::Variant(variant) => GlyphFragment::new(ctx, variant.c), + MathFragment::Variant(variant) => { + GlyphFragment::new(ctx, variant.c, variant.span) + } _ => return, }; |
