Skip to content

Commit

Permalink
Fix for not resizing floating pane when moving from split to float
Browse files Browse the repository at this point in the history
  • Loading branch information
e82eric committed Dec 18, 2024
1 parent 068a321 commit e3492e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mux/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1353,6 +1353,9 @@ impl Mux {
.remove_pane(pane_id)
.ok_or_else(|| anyhow::anyhow!("pane {} wasn't in its containing tab!?", pane_id))?;


let size = tab.compute_floating_pane_size();
pane.resize(size)?;
tab.append_floating_pane(pane);

Ok(())
Expand Down

0 comments on commit e3492e8

Please sign in to comment.