diff options
author | 2025-02-04 19:57:51 +0100 | |
---|---|---|
committer | 2025-02-04 19:57:51 +0100 | |
commit | a6e64eac6f2a4451cdc100e4019ab76e1ce68064 (patch) | |
tree | 638f75e949522690d2b7bb48cb0068dc69c72506 /widget | |
parent | 24cf355e96d8ae6432ca8972214c2c4f31d07b22 (diff) | |
download | iced-a6e64eac6f2a4451cdc100e4019ab76e1ce68064.tar.gz iced-a6e64eac6f2a4451cdc100e4019ab76e1ce68064.tar.bz2 iced-a6e64eac6f2a4451cdc100e4019ab76e1ce68064.zip |
Animate image fade in in `markdown` example
Diffstat (limited to 'widget')
-rw-r--r-- | widget/src/markdown.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/markdown.rs b/widget/src/markdown.rs index d8989e72..5ab43ab0 100644 --- a/widget/src/markdown.rs +++ b/widget/src/markdown.rs @@ -167,8 +167,8 @@ impl Content { } /// Returns the URLs of the Markdown images present in the [`Content`]. - pub fn images(&self) -> impl Iterator<Item = &Url> { - self.state.images.iter() + pub fn images(&self) -> &HashSet<Url> { + &self.state.images } } |