From 5ce1d145361beb51abbbce5ecdc254127c559924 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Fri, 20 Nov 2026 18:12:42 -0500 Subject: [PATCH] Leave Escape to the full-screen prompt --- crates/ui-egui/src/app/keys.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/app/keys.rs b/crates/ui-egui/src/app/keys.rs index b530f7d95a..70ca6b62db 100644 --- a/crates/ui-egui/src/app/keys.rs +++ b/crates/ui-egui/src/app/keys.rs @@ -7,7 +7,7 @@ impl PdfCraftApp { pub(super) fn shortcuts(&mut self, ctx: &egui::Context) { // Dialogs and prompts are modal: nothing runs underneath them (⌘W closed the file behind // Preferences, #870). - if self.modal_open() { + if self.modal_open() || self.prompts.full_screen.is_some() { return; } // The window's Escape: the one no component took this pass (a dialog, a menu, a field, the