Apply Transform scaling to text primitives
This commit is contained in:
parent
9b8614a4e2
commit
aa41d7656e
3 changed files with 17 additions and 2 deletions
|
|
@ -169,7 +169,7 @@ impl<'a> Layer<'a> {
|
|||
layer.text.push(Text::Cached(text::Cached {
|
||||
content,
|
||||
bounds: *bounds * transformation,
|
||||
size: *size,
|
||||
size: *size * transformation.scale_y(),
|
||||
line_height: *line_height,
|
||||
color: *color,
|
||||
font: *font,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue