prod merge: Preferences keeps typed values on Escape (PreferencesWindow::escape_keeps_typing, as production's Live window)

This commit is contained in:
Dylan M. Taylor committed 2026-11-23 07:44:01 -05:00
1 parent d5892bdf6a
commit cdfc6c1d71
1 file changed
+2
@@ -199,6 +199,8 @@ impl PdfCraftApp {
PreferencesWindow::new(Bind::bound(state))
.mode(PreferencesMode::Live)
.layout(PreferencesLayout::Cards)
// Production applies each row as it changes, and Escape closes the window with the typing kept.
.escape_keeps_typing()
.remember(SaveKey::new("pdfcraft.preferences"))
.show(ui, &mut prefs)
};