mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
Try out egui subsecond (doesn't seem to work yet :/)
This commit is contained in:
@@ -73,6 +73,9 @@ impl ImageLoader for GifLoader {
|
||||
}
|
||||
|
||||
fn load(&self, ctx: &egui::Context, frame_uri: &str, _: SizeHint) -> ImageLoadResult {
|
||||
|
||||
let time = ctx.input(|i| i.time);
|
||||
|
||||
let (image_uri, frame_index) =
|
||||
decode_animated_image_uri(frame_uri).map_err(|_err| LoadError::NotSupported)?;
|
||||
let mut cache = self.cache.lock();
|
||||
|
||||
Reference in New Issue
Block a user