Apply ceil to text bounds when drawing
This commit is contained in:
parent
680ea5dcca
commit
a970f34cb4
1 changed files with 4 additions and 2 deletions
|
|
@ -105,8 +105,10 @@ impl Pipeline {
|
||||||
size: section.size * scale_factor,
|
size: section.size * scale_factor,
|
||||||
font: section.font,
|
font: section.font,
|
||||||
bounds: Size {
|
bounds: Size {
|
||||||
width: section.bounds.width * scale_factor,
|
width: (section.bounds.width * scale_factor)
|
||||||
height: section.bounds.height * scale_factor,
|
.ceil(),
|
||||||
|
height: (section.bounds.height * scale_factor)
|
||||||
|
.ceil(),
|
||||||
},
|
},
|
||||||
color: section.color,
|
color: section.color,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue