mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Fix tabs drawing over rest of MacVim in macOS 14 Sonoma
macOS 14 now defaults clipsToBounds to false, which works in most places in MacVim but seems to cause issues with PSMTabBar which relies on clipping to work. Since we are replacing it soon, simply set clipsToBounds to true for the control. Fix #1439
This commit is contained in:
@@ -147,6 +147,10 @@
|
||||
}
|
||||
[_addTabButton setNeedsDisplay:YES];
|
||||
}
|
||||
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 140000
|
||||
[self setClipsToBounds:YES];
|
||||
#endif
|
||||
}
|
||||
|
||||
- (id)initWithFrame:(NSRect)frame
|
||||
|
||||
Reference in New Issue
Block a user