additional fix for hidden maximized panel

refs #80366
This commit is contained in:
SteVen Batten
2019-09-24 17:14:19 -07:00
parent fb7fb3e5a8
commit 817eb6b0c7
+5
View File
@@ -1057,6 +1057,11 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
}
}
// If not maximized and hiding, unmaximize before hiding to allow caching of size
if (this.isPanelMaximized() && hidden) {
this.toggleMaximizedPanel();
}
// Propagate to grid
this.workbenchGrid.setViewVisible(this.panelPartView, !hidden);