summaryrefslogtreecommitdiffstats
path: root/wgpu/src/text.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-14 18:57:09 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-14 18:57:09 +0200
commitc7d02e24e6f8265c205a68bd97b2643d40ae30ee (patch)
tree4157b7e5cc06bc2e61d76f6b6e9fc0642774127c /wgpu/src/text.rs
parent8cad1d682a306071f1f03bff4e70196adc946491 (diff)
downloadiced-c7d02e24e6f8265c205a68bd97b2643d40ae30ee.tar.gz
iced-c7d02e24e6f8265c205a68bd97b2643d40ae30ee.tar.bz2
iced-c7d02e24e6f8265c205a68bd97b2643d40ae30ee.zip
Remove `Editor::min_bounds` and use `bounds` instead
Diffstat (limited to 'wgpu/src/text.rs')
-rw-r--r--wgpu/src/text.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/text.rs b/wgpu/src/text.rs
index 397c38dd..581df0cb 100644
--- a/wgpu/src/text.rs
+++ b/wgpu/src/text.rs
@@ -151,7 +151,7 @@ impl Pipeline {
(
editor.buffer(),
- Rectangle::new(*position, editor.min_bounds()),
+ Rectangle::new(*position, editor.bounds()),
alignment::Horizontal::Left,
alignment::Vertical::Top,
*color,