diff --git a/src/vs/workbench/browser/layout.ts b/src/vs/workbench/browser/layout.ts index 08d0105147ab0767b66b9695a1e699bf89cd54da..9fdeeeb1a11bc8205a81a00b31320f916c6ef73b 100644 --- a/src/vs/workbench/browser/layout.ts +++ b/src/vs/workbench/browser/layout.ts @@ -795,16 +795,15 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi const sideBar = this.getPart(Parts.SIDEBAR_PART); const statusBar = this.getPart(Parts.STATUSBAR_PART); - if (this.configurationService.getValue('workbench.useExperimentalGridLayout')) { - - // View references for all parts - this.titleBarPartView = titleBar; - this.sideBarPartView = sideBar; - this.activityBarPartView = activityBar; - this.editorPartView = editorPart; - this.panelPartView = panelPart; - this.statusBarPartView = statusBar; + // View references for all parts + this.titleBarPartView = titleBar; + this.sideBarPartView = sideBar; + this.activityBarPartView = activityBar; + this.editorPartView = editorPart; + this.panelPartView = panelPart; + this.statusBarPartView = statusBar; + if (this.configurationService.getValue('workbench.useExperimentalGridLayout')) { const viewMap = { [Parts.ACTIVITYBAR_PART]: this.activityBarPartView, [Parts.TITLEBAR_PART]: this.titleBarPartView,