Use bounds directly for measure in text pipeline

This commit is contained in:
Héctor Ramón Jiménez 2023-02-02 01:51:08 +01:00
parent 6b70771146
commit c8e8b1a7ba
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -270,10 +270,7 @@ impl Pipeline {
content,
size: size,
font,
bounds: Size {
width: bounds.width,
height: f32::INFINITY,
},
bounds,
color: Color::BLACK,
});