forge
Explore
Log in

Don't you dare go Hollow

Use correct animation config for tile removal

Browse files at this commit

bbb4a641262897263be6204abf33c6f35fc6d130Ivan MolodetskikhParent: dfe49aa
src/layout/workspace.rsmodified+1 -4
@@ -908,10 +908,7 @@ impl<W: LayoutElement> Workspace<W> {
908 // Animate movement of other tiles.908 // Animate movement of other tiles.
909 let offset_y = column.tile_y(window_idx + 1) - column.tile_y(window_idx);909 let offset_y = column.tile_y(window_idx + 1) - column.tile_y(window_idx);
910 for tile in &mut column.tiles[window_idx + 1..] {910 for tile in &mut column.tiles[window_idx + 1..] {
911- tile.animate_move_from_with_config(911+ tile.animate_move_from(Point::from((0, offset_y)));
912- Point::from((0, offset_y)),
913- self.options.animations.window_resize.0,
914- );
915 }912 }
916 913
917 let tile = column.tiles.remove(window_idx);914 let tile = column.tiles.remove(window_idx);