diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/layout/tests.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/layout/tests.rs b/src/layout/tests.rs index 4275d111..d5d29683 100644 --- a/src/layout/tests.rs +++ b/src/layout/tests.rs @@ -614,6 +614,7 @@ enum Op { #[proptest(strategy = "arbitrary_msec_delta()")] msec_delta: i32, }, + CompleteAnimations, MoveWorkspaceToOutput(#[proptest(strategy = "1..=5usize")] usize), ViewOffsetGestureBegin { #[proptest(strategy = "1..=5usize")] @@ -1401,6 +1402,11 @@ impl Op { layout.clock.set_unadjusted(now); layout.advance_animations(); } + Op::CompleteAnimations => { + layout.clock.set_complete_instantly(true); + layout.advance_animations(); + layout.clock.set_complete_instantly(false); + } Op::MoveWorkspaceToOutput(id) => { let name = format!("output{id}"); let Some(output) = layout.outputs().find(|o| o.name() == name).cloned() else { |
