mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
Merge pull request #306 from macvim-dev/fix-tabbar-style-spelling
Correct the spelling of the "unified" tab bar style.
This commit is contained in:
@@ -81,10 +81,10 @@
|
||||
|
||||
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10
|
||||
# define TABBAR_STYLE_UNIFINED @"Yosemite"
|
||||
# define TABBAR_STYLE_UNIFIED @"Yosemite"
|
||||
# define TABBAR_STYLE_METAL @"Yosemite"
|
||||
#else
|
||||
# define TABBAR_STYLE_UNIFINED @"Unified"
|
||||
# define TABBAR_STYLE_UNIFIED @"Unified"
|
||||
# define TABBAR_STYLE_METAL @"Metal"
|
||||
#endif
|
||||
|
||||
@@ -1181,7 +1181,7 @@
|
||||
[[window animator] setAlphaValue:0];
|
||||
} completionHandler:^{
|
||||
[window setStyleMask:([window styleMask] | NSFullScreenWindowMask)];
|
||||
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFINED];
|
||||
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFIED];
|
||||
[self updateTablineSeparator];
|
||||
|
||||
// Stay dark for some time to wait for things to sync, then do the full screen operation
|
||||
@@ -1317,7 +1317,7 @@
|
||||
fullScreenEnabled = YES;
|
||||
[window setAlphaValue:1];
|
||||
[window setStyleMask:([window styleMask] | NSFullScreenWindowMask)];
|
||||
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFINED];
|
||||
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFIED];
|
||||
[self updateTablineSeparator];
|
||||
[self maximizeWindow:fullScreenOptions];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user