summaryrefslogtreecommitdiffstats
path: root/wgpu/src/layer/text.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-10-23 03:13:28 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-02 01:53:23 +0100
commit5467c19c80c992f03890264ed58156305a26b19a (patch)
tree141f48d4329ccb518d85fb121f51c22835744a11 /wgpu/src/layer/text.rs
parent759f0e922598504705b543185bc7140a652b726a (diff)
downloadiced-5467c19c80c992f03890264ed58156305a26b19a.tar.gz
iced-5467c19c80c992f03890264ed58156305a26b19a.tar.bz2
iced-5467c19c80c992f03890264ed58156305a26b19a.zip
Replace `Primitive::Translate` with `Transform`
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>),