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,
|
content,
|
||||||
size: size,
|
size: size,
|
||||||
font,
|
font,
|
||||||
bounds: Size {
|
bounds,
|
||||||
width: bounds.width,
|
|
||||||
height: f32::INFINITY,
|
|
||||||
},
|
|
||||||
color: Color::BLACK,
|
color: Color::BLACK,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue