From 79cdbc5748fde39365198b7e65936ec45be1d520 Mon Sep 17 00:00:00 2001 From: Mykyta Onipchenko <44075969+nenikitov@users.noreply.github.com> Date: Sat, 18 Oct 2025 01:39:50 -0400 Subject: feat(move-floating-window): percentage change (#2371) * feat: add percentage change to move-floating-window * fixes --------- Co-authored-by: Ivan Molodetskikh --- src/layout/tests.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/layout/tests.rs') diff --git a/src/layout/tests.rs b/src/layout/tests.rs index ced647b6..17a8a30e 100644 --- a/src/layout/tests.rs +++ b/src/layout/tests.rs @@ -311,7 +311,9 @@ fn arbitrary_size_change() -> impl Strategy { fn arbitrary_position_change() -> impl Strategy { prop_oneof![ (-1000f64..1000f64).prop_map(PositionChange::SetFixed), + any::().prop_map(PositionChange::SetProportion), (-1000f64..1000f64).prop_map(PositionChange::AdjustFixed), + any::().prop_map(PositionChange::AdjustProportion), any::().prop_map(PositionChange::SetFixed), any::().prop_map(PositionChange::AdjustFixed), ] -- cgit