Rename invert -> swap
This commit is contained in:
parent
bc590e2d6f
commit
9b5f32ee40
1 changed files with 2 additions and 2 deletions
|
|
@ -193,11 +193,11 @@ impl<T> State<T> {
|
|||
axis: Axis,
|
||||
target: &Pane,
|
||||
pane: &Pane,
|
||||
invert: bool,
|
||||
swap: bool,
|
||||
) {
|
||||
if let Some((state, _)) = self.close(pane) {
|
||||
if let Some((new_pane, _)) = self.split(axis, target, state) {
|
||||
if invert {
|
||||
if swap {
|
||||
self.swap(target, &new_pane);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue