summaryrefslogtreecommitdiffstats
path: root/wgpu/src/layer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu/src/layer.rs')
-rw-r--r--wgpu/src/layer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/layer.rs b/wgpu/src/layer.rs
index fd5f2345..82e8ba02 100644
--- a/wgpu/src/layer.rs
+++ b/wgpu/src/layer.rs
@@ -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,