Do not force math.mid elements to be Large

This commit is contained in:
Malo 2025-02-28 23:53:55 +01:00
parent cfb3b1a270
commit 7680893501

View File

@ -58,7 +58,7 @@ pub fn layout_lr(
if let MathFragment::Variant(ref mut variant) = fragment { if let MathFragment::Variant(ref mut variant) = fragment {
if variant.mid_stretched == Some(false) { if variant.mid_stretched == Some(false) {
variant.mid_stretched = Some(true); variant.mid_stretched = Some(true);
scale(ctx, styles, fragment, relative_to, height, Some(MathClass::Large)); scale(ctx, styles, fragment, relative_to, height, None);
} }
} }
} }