summaryrefslogtreecommitdiffstats
path: root/graphics/src/renderer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/renderer.rs')
-rw-r--r--graphics/src/renderer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/renderer.rs b/graphics/src/renderer.rs
index 4241d45c..7e70a766 100644
--- a/graphics/src/renderer.rs
+++ b/graphics/src/renderer.rs
@@ -133,7 +133,7 @@ where
font: Font,
bounds: Size,
shaping: text::Shaping,
- ) -> (f32, f32) {
+ ) -> Size {
self.backend().measure(
content,
size,