mirror of
https://github.com/typst/typst
synced 2025-05-22 13:05:29 +08:00
Do not force math.mid
elements to be Large
This commit is contained in:
parent
cfb3b1a270
commit
7680893501
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user