From f6c56f6ea3730aea170db4bc19d30fa4471375d1 Mon Sep 17 00:00:00 2001 From: Aram Drevekenin Date: Wed, 12 Jan 2022 09:38:04 +0100 Subject: [PATCH] style(comment): remove outdated --- zellij-server/src/tab/pane_grid.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/zellij-server/src/tab/pane_grid.rs b/zellij-server/src/tab/pane_grid.rs index 120b4102..8e32ce48 100644 --- a/zellij-server/src/tab/pane_grid.rs +++ b/zellij-server/src/tab/pane_grid.rs @@ -61,10 +61,6 @@ impl<'a> PaneGrid<'a> { // TODO: find out by how much we actually reduced and only reduce by that much if self.can_increase_pane_and_surroundings_right(pane_id, RESIZE_PERCENT) { self.increase_pane_and_surroundings_right(pane_id, RESIZE_PERCENT); - // TODO: CONTINUE HERE - fix these to self.panes.clone() - then fix the rest of the - // functions to match, those functions that break out of the RC (eg. return panes) make - // return pane ids and handle them in function, a little work, but eh - we'll get - // through it! let mut pane_resizer = PaneResizer::new(self.panes.clone()); let _ = pane_resizer.layout(Direction::Horizontal, self.display_area.cols); } else if self.can_reduce_pane_and_surroundings_right(pane_id, RESIZE_PERCENT) {