From a18d24fc24d8b17242e336ccf39fcbe91e8161fd Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 9 Jun 2025 16:13:31 +0300 Subject: Don't forget to update insta snapshots --- niri-config/src/lib.rs | 20 +++++++++++++++----- 1 file 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, -- cgit