diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-06-09 16:13:31 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-06-09 16:13:40 +0300 |
| commit | a18d24fc24d8b17242e336ccf39fcbe91e8161fd (patch) | |
| tree | a74975f41901c54e6497abdde07ab4b31bdc8bb9 | |
| parent | 2bacc80c935e42065f99291442c6d8fa658c6a32 (diff) | |
| download | niri-a18d24fc24d8b17242e336ccf39fcbe91e8161fd.tar.gz niri-a18d24fc24d8b17242e336ccf39fcbe91e8161fd.tar.bz2 niri-a18d24fc24d8b17242e336ccf39fcbe91e8161fd.zip | |
Don't forget to update insta snapshots
| -rw-r--r-- | niri-config/src/lib.rs | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index 796a02c4..1fb46c71 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -4218,7 +4218,9 @@ mod tests { click_method: Some( Clickfinger, ), - accel_speed: 0.2, + accel_speed: FloatOrInt( + 0.2, + ), accel_profile: Some( Flat, ), @@ -4243,7 +4245,9 @@ mod tests { mouse: Mouse { off: false, natural_scroll: true, - accel_speed: 0.4, + accel_speed: FloatOrInt( + 0.4, + ), accel_profile: Some( Flat, ), @@ -4264,7 +4268,9 @@ mod tests { trackpoint: Trackpoint { off: true, natural_scroll: true, - accel_speed: 0.0, + accel_speed: FloatOrInt( + 0.0, + ), accel_profile: Some( Flat, ), @@ -4280,7 +4286,9 @@ mod tests { trackball: Trackball { off: true, natural_scroll: true, - accel_speed: 0.0, + accel_speed: FloatOrInt( + 0.0, + ), accel_profile: Some( Flat, ), @@ -4635,7 +4643,9 @@ mod tests { }, animations: Animations { off: false, - slowdown: 2.0, + slowdown: FloatOrInt( + 2.0, + ), workspace_switch: WorkspaceSwitchAnim( Animation { off: false, |
