Skip to content

Commit 13755b3

Browse files
authored
Fix custom titlebar visibility when native title bar is enabled on macos (microsoft#250052)
fixes microsoft#249564
1 parent cf032d1 commit 13755b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/services/layout/browser/layoutService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ export function shouldShowCustomTitleBar(configurationService: IConfigurationSer
352352
}
353353

354354
// Hide custom title bar when native title bar enabled and custom title bar is empty
355-
if (hasNativeMenu(configurationService)) {
355+
if (nativeTitleBarEnabled && hasNativeMenu(configurationService)) {
356356
return false;
357357
}
358358

0 commit comments

Comments
 (0)