diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-27 11:21:54 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-27 11:22:27 +0300 |
| commit | e5188da1f8e9d0656d8078cc0dc06aa5e41fb4c0 (patch) | |
| tree | bf1ae1c52fbe03201ea34860ad26d559f05f269f /src/layout | |
| parent | 82697773f8e5507dc3982645f805a011996f7cb4 (diff) | |
| download | niri-e5188da1f8e9d0656d8078cc0dc06aa5e41fb4c0.tar.gz niri-e5188da1f8e9d0656d8078cc0dc06aa5e41fb4c0.tar.bz2 niri-e5188da1f8e9d0656d8078cc0dc06aa5e41fb4c0.zip | |
config: Clean up animations struct names
Diffstat (limited to 'src/layout')
| -rw-r--r-- | src/layout/tests/animations.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/layout/tests/animations.rs b/src/layout/tests/animations.rs index bae2d512..3f39e25a 100644 --- a/src/layout/tests/animations.rs +++ b/src/layout/tests/animations.rs @@ -1,7 +1,7 @@ use std::fmt::Write as _; use insta::assert_snapshot; -use niri_config::{AnimationCurve, AnimationKind, EasingParams}; +use niri_config::animations::{Curve, EasingParams, Kind}; use super::*; @@ -23,9 +23,9 @@ fn format_tiles(layout: &Layout<TestWindow>) -> String { } fn make_options() -> Options { - const LINEAR: AnimationKind = AnimationKind::Easing(EasingParams { + const LINEAR: Kind = Kind::Easing(EasingParams { duration_ms: 1000, - curve: AnimationCurve::Linear, + curve: Curve::Linear, }); let mut options = Options { |
