From 4de1b9317834d29c8153f3b0ee2c0a4650da7c44 Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Sat, 7 Dec 2024 05:41:50 +0900 Subject: [PATCH] Update image_loader.rs --- crates/egui_extras/src/loaders/image_loader.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/egui_extras/src/loaders/image_loader.rs b/crates/egui_extras/src/loaders/image_loader.rs index 088ef5e4587..0b7ef2a559f 100644 --- a/crates/egui_extras/src/loaders/image_loader.rs +++ b/crates/egui_extras/src/loaders/image_loader.rs @@ -109,6 +109,10 @@ impl ImageLoader for ImageCrateLoader { }) .sum() } + + fn frame_count(&self, _uri: &str) -> usize { + 1 + } } #[cfg(test)]