summaryrefslogtreecommitdiffstats
path: root/graphics/src/text/cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/text/cache.rs')
-rw-r--r--graphics/src/text/cache.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/src/text/cache.rs b/graphics/src/text/cache.rs
index 822b61c4..e64d93f1 100644
--- a/graphics/src/text/cache.rs
+++ b/graphics/src/text/cache.rs
@@ -48,8 +48,8 @@ impl Cache {
buffer.set_size(
font_system,
- key.bounds.width,
- key.bounds.height.max(key.line_height),
+ Some(key.bounds.width),
+ Some(key.bounds.height.max(key.line_height)),
);
buffer.set_text(
font_system,