summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--graphics/src/renderer.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/src/renderer.rs b/graphics/src/renderer.rs
index e07e7206..34b6eb1d 100644
--- a/graphics/src/renderer.rs
+++ b/graphics/src/renderer.rs
@@ -141,8 +141,7 @@ where
font: Font,
bounds: Size,
) -> (f32, f32) {
- self.backend()
- .measure(content, f32::from(size), font, bounds)
+ self.backend().measure(content, size, font, bounds)
}
fn hit_test(