Skip to content

Commit

Permalink
fix titlebar height on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
sbatten committed Jan 25, 2019
1 parent 89480a0 commit 7d56a1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/workbench/browser/parts/titlebar/titlebarPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ export class TitlebarPart extends Part implements ITitleService, ISerializableVi

minimumWidth: number = 0;
maximumWidth: number = Number.POSITIVE_INFINITY;
minimumHeight: number = 30;
maximumHeight: number = 30;
minimumHeight: number = isMacintosh ? 22 : 30;
maximumHeight: number = isMacintosh ? 22 : 30;

private _onDidChange = new Emitter<{ width: number; height: number; }>();
readonly onDidChange = this._onDidChange.event;
Expand Down

0 comments on commit 7d56a1d

Please sign in to comment.