mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Do not enable blending of file browser header until 10.14
This commit is contained in:
@@ -150,9 +150,9 @@ static NSMutableIndexSet* MutableLongestCommonSubsequence (NSArray* lhs, NSArray
|
||||
[self addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[files(==header,==divider,==actions)]|" options:0 metrics:nil views:views]];
|
||||
[self addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[header]-(>=0)-[divider]" options:NSLayoutFormatAlignAllLeft metrics:nil views:views]];
|
||||
|
||||
if(@available(macos 10.12, *))
|
||||
if(@available(macos 10.14, *))
|
||||
{
|
||||
// Placing files behind header seems to require MAC_OS_X_VERSION_10_12 for proper rendering
|
||||
// The OakBackgroundFillViewStyleHeader is only using transparent header material on 10.14 and later
|
||||
[self addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[files][divider][actions]|" options:NSLayoutFormatAlignAllLeft metrics:nil views:views]];
|
||||
|
||||
NSEdgeInsets insets = _scrollView.contentInsets;
|
||||
|
||||
Reference in New Issue
Block a user