Skip to content

Commit

Permalink
Merge pull request #1440 from ychin/fix-newtab-render-issues
Browse files Browse the repository at this point in the history
Fix tabs drawing over rest of MacVim in macOS 14 Sonoma
  • Loading branch information
ychin authored Oct 12, 2023
2 parents 3803c15 + 30afcb7 commit e9167c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/MacVim/PSMTabBarControl/source/PSMTabBarControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ - (void)initAddedProperties
}
[_addTabButton setNeedsDisplay:YES];
}

#if MAC_OS_X_VERSION_MAX_ALLOWED >= 140000
[self setClipsToBounds:YES];
#endif
}

- (id)initWithFrame:(NSRect)frame
Expand Down

0 comments on commit e9167c2

Please sign in to comment.