Skip to content

Commit

Permalink
Merge pull request laullon#175 from nanotech/patch-1
Browse files Browse the repository at this point in the history
Fix commit message font on 10.13
  • Loading branch information
tiennou authored Jan 28, 2019
2 parents 6c43b53 + 303abc9 commit bd34cb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Classes/Controllers/PBGitCommitController.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ - (void)awakeFromNib
commitMessageView.delegate = self;

NSMutableDictionary *attrs = commitMessageView.typingAttributes.mutableCopy;
if (!attrs) {
attrs = [NSMutableDictionary dictionary];
}
attrs[NSFontAttributeName] = [NSFont fontWithName:@"Menlo" size:12.0];
commitMessageView.typingAttributes = attrs;

Expand Down

0 comments on commit bd34cb3

Please sign in to comment.