Batch fixes: tests and catalogs that meet each other once the batch lands together

- Keyboard Shortcuts: Enter is not Delete while the delete confirmation is open (#1113 with #1019).
- Speed graph drag test compares proportions, since the Graph Editor now fits its selection (#1182 with #1109).
- Spanish panel test no longer demands the Chinese catalogs' exact rows (#996 with #1189, #1019).
- Object Matte gets its Simplified Chinese effect-name row (#1199 with #792).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-13 05:23:30 -04:00
co-authored by Claude Opus 5.5
parent 3ac283eee4
commit 6c799f3c3b
4 changed files with 8 additions and 9 deletions
+4 -3
View File
@@ -223,9 +223,10 @@ pub fn show(app: &mut EffectcraftApp, ctx: &egui::Context, t: &Tokens) {
}
}
}
// Enter is OK, unless it belongs to the rename field or an open preset menu. A recorded Enter
// never gets here: the recorder took the frame's key events above.
close |= st.rename.is_none() && !egui::Popup::is_any_open(ctx) && ctx.input(|i| i.modifiers.is_none() && i.key_pressed(egui::Key::Enter));
// Enter is OK, unless it belongs to the rename field, an open preset menu or the delete
// confirmation (where Enter is not Delete). A recorded Enter never gets here: the recorder
// took the frame's key events above.
close |= st.rename.is_none() && st.confirm_delete.is_none() && !egui::Popup::is_any_open(ctx) && ctx.input(|i| i.modifiers.is_none() && i.key_pressed(egui::Key::Enter));
// Modifiers: toggles, or the ones held on the keyboard.
let held = ctx.input(|i| i.modifiers);
let held = [held.ctrl && cfg!(target_os = "macos"), held.command, held.alt, held.shift];