mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-22 18:22:26 +00:00
#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:
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);
|
||||
|
||||
Reference in new issue
Block a user