#323: test: holding \ in a wipe is tested with the key held, and the mutation fails it

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Nathaniel Ledford
2026-10-08 18:34:02 -04:00
co-authored by Claude Sonnet 5.5
parent 03249f4619
commit ddaea580a1
@@ -594,6 +594,10 @@ mod in_the_loupe {
modifiers: egui::Modifiers::NONE,
});
h.settle(SETTLE);
// (the key's own shortcut switches to the Before view; the wipe is chosen again with the
// key still down, which is what holding `\` in a wipe is)
h.app.ui.before_after = crate::state::BeforeAfter::Split;
h.settle(SETTLE);
h.step();
let canvas = h.app.canvas_rect.unwrap();
let window = drawn(&h, Slot::RegionBefore);