mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-26 04:58:07 +00:00
Leave Escape to the full-screen prompt
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user