From e81613035ba8521be712abea2de1694d9f8d3e6a Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Fri, 20 Nov 2026 13:58:11 -0500 Subject: [PATCH] Hold reloads while full-screen confirmation is open --- crates/ui-egui/src/app/reload.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/app/reload.rs b/crates/ui-egui/src/app/reload.rs index e85b09816f..fcdf8e0729 100644 --- a/crates/ui-egui/src/app/reload.rs +++ b/crates/ui-egui/src/app/reload.rs @@ -75,7 +75,7 @@ impl PdfCraftApp { /// holds until the save has taken its answer, since replacing the document first would save /// another version than the one the user was asked about. fn holds_reload(&self) -> bool { - self.modal_open() || self.pending_save.as_ref().is_some_and(|p| p.asking()) + self.modal_open() || self.prompts.full_screen.is_some() || self.pending_save.as_ref().is_some_and(|p| p.asking()) } /// A watched file has a new version: reload its document, or say so when it has unsaved