From eb86f562ca877d0d912cc1f5057d4993ada5fcf4 Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Sat, 7 Dec 2024 05:42:26 +0900 Subject: [PATCH] Update svg_loader.rs --- crates/egui_extras/src/loaders/svg_loader.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/egui_extras/src/loaders/svg_loader.rs b/crates/egui_extras/src/loaders/svg_loader.rs index 67b59540c69..12d0a162953 100644 --- a/crates/egui_extras/src/loaders/svg_loader.rs +++ b/crates/egui_extras/src/loaders/svg_loader.rs @@ -83,6 +83,10 @@ impl ImageLoader for SvgLoader { }) .sum() } + + fn frame_count(&self, _uri: &str) -> usize { + 1 + } } #[cfg(test)]