mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Resize grids and detect changes when toggling panel visibility (#944)
This commit is contained in:
committed by
Karl Burtram
parent
fe496ab03b
commit
c116f933e2
@@ -102,6 +102,7 @@ export abstract class GridParentComponent {
|
||||
if (this.resultActive) {
|
||||
this.resizeGrids();
|
||||
}
|
||||
this._cd.detectChanges();
|
||||
}
|
||||
|
||||
get messageActive(): boolean {
|
||||
@@ -202,6 +203,10 @@ export abstract class GridParentComponent {
|
||||
|
||||
private toggleResultPane(): void {
|
||||
this.resultActive = !this.resultActive;
|
||||
if (this.resultActive) {
|
||||
this.resizeGrids();
|
||||
}
|
||||
this._cd.detectChanges();
|
||||
}
|
||||
|
||||
private toggleMessagePane(): void {
|
||||
|
||||
Reference in New Issue
Block a user