diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-17 14:06:32 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-17 14:06:32 +0400 |
| commit | 73e9ef5fe20825ed12f1bb05ba10e7eb69bc7662 (patch) | |
| tree | cdb4d408a50494fd86695ce0807602869c047f93 /src/layout/monitor.rs | |
| parent | c40d4f3268318ac295f21bfce38b9809c5e48f0d (diff) | |
| download | niri-73e9ef5fe20825ed12f1bb05ba10e7eb69bc7662.tar.gz niri-73e9ef5fe20825ed12f1bb05ba10e7eb69bc7662.tar.bz2 niri-73e9ef5fe20825ed12f1bb05ba10e7eb69bc7662.zip | |
Resolve animation defaults during parsing
Diffstat (limited to 'src/layout/monitor.rs')
| -rw-r--r-- | src/layout/monitor.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/layout/monitor.rs b/src/layout/monitor.rs index 7a19673e..604dcab3 100644 --- a/src/layout/monitor.rs +++ b/src/layout/monitor.rs @@ -127,8 +127,7 @@ impl<W: LayoutElement> Monitor<W> { current_idx, idx as f64, 0., - self.options.animations.workspace_switch, - niri_config::Animation::default_workspace_switch(), + self.options.animations.workspace_switch.0, ))); } @@ -882,8 +881,7 @@ impl<W: LayoutElement> Monitor<W> { gesture.current_idx, new_idx as f64, velocity, - self.options.animations.workspace_switch, - niri_config::Animation::default_workspace_switch(), + self.options.animations.workspace_switch.0, ))); true |
