mirror of
https://github.com/typst/typst
synced 2025-08-22 10:44:14 +08:00
Fix formatting
This commit is contained in:
parent
098f8386ab
commit
bc728eb00b
@ -393,7 +393,7 @@ impl<'a> ShapedText<'a> {
|
|||||||
pub fn stretchability(&self) -> Abs {
|
pub fn stretchability(&self) -> Abs {
|
||||||
self.glyphs
|
self.glyphs
|
||||||
.iter()
|
.iter()
|
||||||
.map(|g|( g.stretchability().0 + g.stretchability().1).at(g.size))
|
.map(|g| (g.stretchability().0 + g.stretchability().1).at(g.size))
|
||||||
.sum()
|
.sum()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user