File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1073,6 +1073,11 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
10731073 return false ;
10741074 }
10751075
1076+ // with the command center enabled, we should always show
1077+ if ( this . configurationService . getValue < boolean > ( 'window.commandCenter' ) ) {
1078+ return true ;
1079+ }
1080+
10761081 // macOS desktop does not need a title bar when full screen
10771082 if ( isMacintosh && isNative ) {
10781083 return ! this . state . runtime . fullscreen ;
@@ -1083,11 +1088,6 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
10831088 return true ;
10841089 }
10851090
1086- // with the command center enabled, we should always show
1087- if ( this . configurationService . getValue < boolean > ( 'window.commandCenter' ) ) {
1088- return true ;
1089- }
1090-
10911091 // if WCO is visible, we have to show the title bar
10921092 if ( isWCOVisible ( ) ) {
10931093 return true ;
You can’t perform that action at this time.
0 commit comments