Leave Escape to the full-screen prompt

This commit is contained in:
Dylan M. Taylor
2026-11-20 18:12:42 -05:00
parent 2a75e2240e
commit 5ce1d14536
+1 -1
View File
@@ -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