Use bounds directly for measure in text pipeline
This commit is contained in:
parent
6b70771146
commit
c8e8b1a7ba
1 changed files with 1 additions and 4 deletions
|
|
@ -270,10 +270,7 @@ impl Pipeline {
|
|||
content,
|
||||
size: size,
|
||||
font,
|
||||
bounds: Size {
|
||||
width: bounds.width,
|
||||
height: f32::INFINITY,
|
||||
},
|
||||
bounds,
|
||||
color: Color::BLACK,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue