From a6e64eac6f2a4451cdc100e4019ab76e1ce68064 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 4 Feb 2025 19:57:51 +0100 Subject: Animate image fade in in `markdown` example --- widget/src/markdown.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widget') 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 { - self.state.images.iter() + pub fn images(&self) -> &HashSet { + &self.state.images } } -- cgit