diff options
author | 2024-07-17 13:00:00 +0200 | |
---|---|---|
committer | 2024-07-17 13:00:00 +0200 | |
commit | 616689ca54942a13aac3615e571ae995ad4571b6 (patch) | |
tree | 763d8926cfa2be97dffa858a04036e207fd06ec8 /graphics/src/text/cache.rs | |
parent | b518e30610fa53691c727852f70b497dd19cfc7a (diff) | |
download | iced-616689ca54942a13aac3615e571ae995ad4571b6.tar.gz iced-616689ca54942a13aac3615e571ae995ad4571b6.tar.bz2 iced-616689ca54942a13aac3615e571ae995ad4571b6.zip |
Update `cosmic-text` and `resvg` (#2416)
* Update `cosmic-text`, `glyphon`, and `resvg`
* Fix slow font fallback with `Shaping::Basic` in `cosmic-text`
* Update `cosmic-text` and `resvg`
* Update `cosmic-text`
* Fix `SelectAll` action in `editor`
* Fix some panics in `graphics::text::editor`
* Remove empty `if` statement in `tiny_skia::vector`
* Update `cosmic-text`, `glyphon`, and `rustc-hash`
Diffstat (limited to 'graphics/src/text/cache.rs')
-rw-r--r-- | graphics/src/text/cache.rs | 4 |
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, |