diff --git a/src/MacVim/PSMTabBarControl/source/PSMTabBarControl.m b/src/MacVim/PSMTabBarControl/source/PSMTabBarControl.m index 08f2487511..6c8bab1223 100644 --- a/src/MacVim/PSMTabBarControl/source/PSMTabBarControl.m +++ b/src/MacVim/PSMTabBarControl/source/PSMTabBarControl.m @@ -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