Skip to content

Commit

Permalink
fixes #86033
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Jan 15, 2020
1 parent e171016 commit c5fb0ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vs/base/browser/ui/grid/gridview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,8 @@ class BranchNode implements ISplitView<ILayoutContext>, IDisposable {

const child = this._removeChild(from);
this._addChild(child, to);

this.onDidChildrenChange();
}

swapChildren(from: number, to: number): void {
Expand All @@ -408,6 +410,8 @@ class BranchNode implements ISplitView<ILayoutContext>, IDisposable {
this.splitview.swapViews(from, to);
[this.children[from].orthogonalStartSash, this.children[from].orthogonalEndSash, this.children[to].orthogonalStartSash, this.children[to].orthogonalEndSash] = [this.children[to].orthogonalStartSash, this.children[to].orthogonalEndSash, this.children[from].orthogonalStartSash, this.children[from].orthogonalEndSash];
[this.children[from], this.children[to]] = [this.children[to], this.children[from]];

this.onDidChildrenChange();
}

resizeChild(index: number, size: number): void {
Expand Down

0 comments on commit c5fb0ad

Please sign in to comment.