Skip to content

Commit

Permalink
restrict adjusting title for menubar to windows/linux
Browse files Browse the repository at this point in the history
  • Loading branch information
sbatten committed Sep 20, 2018
1 parent a219692 commit 10ee597
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vs/workbench/browser/parts/titlebar/titlebarPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ export class TitlebarPart extends Part implements ITitleService {
this.pendingTitle = title;
}

this.adjustTitleMarginToCenter();
if (isWindows || isLinux) {
this.adjustTitleMarginToCenter();
}
}

private getWindowTitle(): string {
Expand Down

0 comments on commit 10ee597

Please sign in to comment.