Merge pull request #919 from pravdomil/claude/unsaved-changes-cmd-backspace-b69a74

UI: keyboard shortcuts for dialog answers
This commit is contained in:
Brandon Thomas
2026-10-12 04:20:53 -04:00
6 changed files with 190 additions and 6 deletions
+3
View File
@@ -816,6 +816,9 @@ pub fn recovery(app: &mut EffectcraftApp, ctx: &egui::Context, t: &Tokens) {
}
});
});
if choice.is_none() && super::dialogs::ui_enter(ctx) {
choice = Some("autosave");
}
let Some(c) = choice else { return };
app.dialog = None;
app.recovery = None;