Fix titlebar restore when in zen mode (#215596)

fix titlebar restore when in zen mode
This commit is contained in:
Benjamin Christopher Simmonds 2024-06-14 16:12:14 -07:00 committed by GitHub
parent 03d781a755
commit a41578cab7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -318,7 +318,7 @@ export function shouldShowCustomTitleBar(configurationService: IConfigurationSer
}
if (zenModeActive) {
return false;
return !configurationService.getValue<boolean>(ZenModeSettings.FULLSCREEN);
}
const inFullscreen = isFullscreen(window);