From afe8a3475bc71981da8caa6780883582c06ca23d Mon Sep 17 00:00:00 2001 From: SteVen Batten <6561887+sbatten@users.noreply.github.com> Date: Wed, 23 Nov 2022 12:32:23 -0800 Subject: [PATCH] show titlebar cc enabled in fllscrn macos (#167094) fixes #153221 --- src/vs/workbench/browser/layout.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/vs/workbench/browser/layout.ts b/src/vs/workbench/browser/layout.ts index 4fea2f88c47..df2c9e8ae41 100644 --- a/src/vs/workbench/browser/layout.ts +++ b/src/vs/workbench/browser/layout.ts @@ -1073,6 +1073,11 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi return false; } + // with the command center enabled, we should always show + if (this.configurationService.getValue('window.commandCenter')) { + return true; + } + // macOS desktop does not need a title bar when full screen if (isMacintosh && isNative) { return !this.state.runtime.fullscreen; @@ -1083,11 +1088,6 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi return true; } - // with the command center enabled, we should always show - if (this.configurationService.getValue('window.commandCenter')) { - return true; - } - // if WCO is visible, we have to show the title bar if (isWCOVisible()) { return true;