mirror of
https://github.com/Microsoft/vscode
synced 2024-08-26 20:39:37 +00:00
parent
4266e06e07
commit
afe8a3475b
|
@ -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<boolean>('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<boolean>('window.commandCenter')) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// if WCO is visible, we have to show the title bar
|
||||
if (isWCOVisible()) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue