Skip to content

Commit

Permalink
Resizing a pane after it's neighboor was closed
Browse files Browse the repository at this point in the history
  • Loading branch information
daonb committed Jun 21, 2024
1 parent ae007c6 commit 5427afc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5427afc

Please sign in to comment.