CC enablement doesn't influence custom titlebar enablement (#162432)

mitigates https://github.com/microsoft/vscode/issues/161948
undoes https://github.com/microsoft/vscode/issues/151892
(likely) fixes https://github.com/microsoft/vscode/issues/158359
This commit is contained in:
Johannes Rieken 2022-09-30 13:44:10 +02:00 committed by GitHub
parent 2135a9d3c7
commit 20e2a1524d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1061,11 +1061,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;
}
// remaining behavior is based on menubar visibility
switch (getMenuBarVisibility(this.configurationService)) {
case 'classic':