Skip to content

Commit 46a2336

Browse files
authored
title - menu compact is also hidden (#200467)
1 parent 8edc58a commit 46a2336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/browser/parts/titlebar/titlebarPart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ export class BrowserTitlebarPart extends Part implements ITitlebarPart {
719719

720720
const zoomFactor = getZoomFactor();
721721

722-
const noMenubar = this.currentMenubarVisibility === 'hidden' || (!isWeb && isMacintosh);
722+
const noMenubar = this.currentMenubarVisibility === 'hidden' || this.currentMenubarVisibility === 'compact' || (!isWeb && isMacintosh);
723723
const noCommandCenter = !this.isCommandCenterVisible;
724724
const noToolBarActions = !this.layoutControlEnabled && !this.editorActionsEnabled && !this.activityActionsEnabled;
725725

0 commit comments

Comments
 (0)