Advanced Description On Bottom (#4836)

* move description to the bottom

* formatting
This commit is contained in:
Anthony Dresser
2019-04-03 15:49:53 -07:00
committed by GitHub
parent 5235c8aad6
commit fcb8fe50fe
2 changed files with 11 additions and 5 deletions

View File

@@ -419,6 +419,12 @@ export class ScrollableSplitView extends HeightMap implements IDisposable {
}
}
clear(): void {
for (let i = this.viewItems.length - 1; i >= 0; i--) {
this.removeView(i);
}
}
removeView(index: number, sizing?: Sizing): IView {
if (this.state !== State.Idle) {
throw new Error('Cant modify splitview');