diff options
author | 2024-07-17 18:47:58 +0200 | |
---|---|---|
committer | 2024-07-17 18:50:53 +0200 | |
commit | ffb520fb3703ce4ece9fb6d5ee2c7aa0b846879f (patch) | |
tree | 2f840fba3f2bb72e3d255c2778f88dd324cc0f4e /core/src/renderer | |
parent | 616689ca54942a13aac3615e571ae995ad4571b6 (diff) | |
download | iced-ffb520fb3703ce4ece9fb6d5ee2c7aa0b846879f.tar.gz iced-ffb520fb3703ce4ece9fb6d5ee2c7aa0b846879f.tar.bz2 iced-ffb520fb3703ce4ece9fb6d5ee2c7aa0b846879f.zip |
Decouple caching from `Paragraph` API
Diffstat (limited to 'core/src/renderer')
-rw-r--r-- | core/src/renderer/null.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/renderer/null.rs b/core/src/renderer/null.rs index e8709dbc..560b5b43 100644 --- a/core/src/renderer/null.rs +++ b/core/src/renderer/null.rs @@ -79,7 +79,7 @@ impl text::Paragraph for () { fn resize(&mut self, _new_bounds: Size) {} - fn compare(&self, _text: Text<&str>) -> text::Difference { + fn compare(&self, _text: Text<()>) -> text::Difference { text::Difference::None } |