mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -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) {
|
if (this.resultActive) {
|
||||||
this.resizeGrids();
|
this.resizeGrids();
|
||||||
}
|
}
|
||||||
|
this._cd.detectChanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
get messageActive(): boolean {
|
get messageActive(): boolean {
|
||||||
@@ -202,6 +203,10 @@ export abstract class GridParentComponent {
|
|||||||
|
|
||||||
private toggleResultPane(): void {
|
private toggleResultPane(): void {
|
||||||
this.resultActive = !this.resultActive;
|
this.resultActive = !this.resultActive;
|
||||||
|
if (this.resultActive) {
|
||||||
|
this.resizeGrids();
|
||||||
|
}
|
||||||
|
this._cd.detectChanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
private toggleMessagePane(): void {
|
private toggleMessagePane(): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user