summaryrefslogtreecommitdiffstats
path: root/wgpu/src/layer/text.rs
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu/src/layer/text.rs')
-rw-r--r--wgpu/src/layer/text.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/wgpu/src/layer/text.rs b/wgpu/src/layer/text.rs
index 37ee5247..2a09aecc 100644
--- a/wgpu/src/layer/text.rs
+++ b/wgpu/src/layer/text.rs
@@ -15,6 +15,7 @@ pub enum Text<'a> {
position: Point,
color: Color,
clip_bounds: Rectangle,
+ scale: f32,
},
/// An editor.
#[allow(missing_docs)]
@@ -23,6 +24,7 @@ pub enum Text<'a> {
position: Point,
color: Color,
clip_bounds: Rectangle,
+ scale: f32,
},
/// Some cached text.
Cached(Cached<'a>),