From 0a470c3b1fa4f6e87c529ea8bf00f66d786c5834 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Wed, 14 Oct 2026 13:45:41 -0400 Subject: [PATCH] Fix up merged PRs: prefetch GIF check passes the document uid Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/show.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/show.rs b/crates/ui-egui/src/show.rs index dbf59930..8bcbfa43 100644 --- a/crates/ui-egui/src/show.rs +++ b/crates/ui-egui/src/show.rs @@ -584,7 +584,7 @@ pub fn ui(app: &mut SlideApp, ui: &mut Ui) { // frame depends on when it is entered). if !animating && show.trans.is_none() && !show.preview_only { let next = deckcraft_anim::show_order(&doc).into_iter().find(|i| *i > idx); - let wanted = next.filter(|n| app.media.gifs(&doc, *n, now, &app.session.gif_paused).is_empty()); + let wanted = next.filter(|n| app.media.gifs(doc_uid, &doc, *n, now, &app.session.gif_paused).is_empty()); if let Some(n) = wanted && show.prefetch.as_ref().is_none_or(|p| p.key.slide != n || p.key.size != size || p.key.doc != std::sync::Arc::as_ptr(&doc) as usize) {