From 6424a2738db6349de62dab150d5d6f1d431ca6c4 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 7 Feb 2024 17:05:15 +0400 Subject: Make all animations configurable --- src/layout/workspace.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/layout/workspace.rs') diff --git a/src/layout/workspace.rs b/src/layout/workspace.rs index 9165d7e0..0e576b7a 100644 --- a/src/layout/workspace.rs +++ b/src/layout/workspace.rs @@ -401,7 +401,8 @@ impl Workspace { 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(), )); } -- cgit