Skip to content

Commit e9167c2

Browse files
authored
Merge pull request #1440 from ychin/fix-newtab-render-issues
Fix tabs drawing over rest of MacVim in macOS 14 Sonoma
2 parents 3803c15 + 30afcb7 commit e9167c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/MacVim/PSMTabBarControl/source/PSMTabBarControl.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ - (void)initAddedProperties
147147
}
148148
[_addTabButton setNeedsDisplay:YES];
149149
}
150+
151+
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 140000
152+
[self setClipsToBounds:YES];
153+
#endif
150154
}
151155

152156
- (id)initWithFrame:(NSRect)frame

0 commit comments

Comments
 (0)