Make all animations configurable

This commit is contained in:
Ivan Molodetskikh
2024-02-07 17:05:15 +04:00
parent 753a90430a
commit 6424a2738d
10 changed files with 231 additions and 48 deletions
+2 -1
View File
@@ -401,7 +401,8 @@ impl<W: LayoutElement> Workspace<W> {
self.view_offset_anim = Some(Animation::new(
self.view_offset as f64,
new_view_offset as f64,
250,
self.options.animations.horizontal_view_movement,
niri_config::Animation::default_horizontal_view_movement(),
));
}