From 5427afc9306a63b2ab0b8ecc1da0a6c29ac5873d Mon Sep 17 00:00:00 2001 From: Benny Daon Date: Fri, 21 Jun 2024 14:16:45 +0300 Subject: [PATCH] Resizing a pane after it's neighboor was closed --- src/layout.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layout.ts b/src/layout.ts index a0d74457..bea3bf67 100644 --- a/src/layout.ts +++ b/src/layout.ts @@ -99,6 +99,7 @@ export class Layout extends Cell { if (c.xoff < p.xoff) p.xoff = c.xoff } + p.fit() p.focus() // remove this from the layout this.cells.splice(i, 1)