Remove maximized when split occurs

This commit is contained in:
Cory Forsstrom 2022-11-03 08:02:20 -07:00
parent 2f6c71d99a
commit 951fbc83ff

View file

@ -160,6 +160,7 @@ impl<T> State<T> {
node.split(new_split, axis, new_pane);
let _ = self.panes.insert(new_pane, state);
let _ = self.maximized.take();
Some((new_pane, new_split))
}