mirror of
https://github.com/typst/typst
synced 2025-08-21 18:24: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 {
|
||||
self.glyphs
|
||||
.iter()
|
||||
.map(|g|( g.stretchability().0 + g.stretchability().1).at(g.size))
|
||||
.map(|g| (g.stretchability().0 + g.stretchability().1).at(g.size))
|
||||
.sum()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user