From bbb4a641262897263be6204abf33c6f35fc6d130 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 17 Apr 2024 14:38:34 +0400 Subject: Use correct animation config for tile removal --- src/layout/workspace.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/layout/workspace.rs b/src/layout/workspace.rs index 01aca338..b983f1b8 100644 --- a/src/layout/workspace.rs +++ b/src/layout/workspace.rs @@ -908,10 +908,7 @@ impl Workspace { // Animate movement of other tiles. let offset_y = column.tile_y(window_idx + 1) - column.tile_y(window_idx); for tile in &mut column.tiles[window_idx + 1..] { - tile.animate_move_from_with_config( - Point::from((0, offset_y)), - self.options.animations.window_resize.0, - ); + tile.animate_move_from(Point::from((0, offset_y))); } let tile = column.tiles.remove(window_idx); -- cgit