Skip to content

Commit 20e2a15

Browse files
authored
CC enablement doesn't influence custom titlebar enablement (microsoft#162432)
mitigates microsoft#161948 undoes microsoft#151892 (likely) fixes microsoft#158359
1 parent 2135a9d commit 20e2a15

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/vs/workbench/browser/layout.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,11 +1061,6 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
10611061
return true;
10621062
}
10631063

1064-
// with the command center enabled, we should always show
1065-
if (this.configurationService.getValue<boolean>('window.commandCenter')) {
1066-
return true;
1067-
}
1068-
10691064
// remaining behavior is based on menubar visibility
10701065
switch (getMenuBarVisibility(this.configurationService)) {
10711066
case 'classic':

0 commit comments

Comments
 (0)