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

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
Nathaniel LedfordandClaude Sonnet 5.5 committed 2026-10-08 18:34:02 -04:00
1 parent 03249f4619
commit ddaea580a1
1 file changed
+4
@@ -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);