properly reset to handle maximized grids (#2786)

This commit is contained in:
Anthony Dresser
2018-10-08 17:30:08 -07:00
committed by GitHub
parent 933aa88dc7
commit 7aa2ee08bf

View File

@@ -242,6 +242,7 @@ export class GridPanel extends ViewletPanel {
}
dispose(this.tables);
this.tables = [];
this.maximizedGrid = undefined;
this.maximumBodySize = this.tables.reduce((p, c) => {
return p + c.maximumSize;