mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
fixes #124702
This commit is contained in:
parent
c538781d78
commit
ebdd548be2
|
@ -1628,7 +1628,7 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
|
|||
|
||||
let newVisibilityValue: string;
|
||||
if (currentVisibilityValue === 'visible' || currentVisibilityValue === 'classic') {
|
||||
newVisibilityValue = 'compact';
|
||||
newVisibilityValue = getTitleBarStyle(this.configurationService) === 'native' ? 'toggle' : 'compact';
|
||||
} else {
|
||||
newVisibilityValue = 'classic';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue