Switch to the new metadata api.
This commit is contained in:
1 parent
b21eab22e4
commit
6c1b470be7
14 files changed
+1016
-1063
No files matched your search
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// SBComboBoxCellView.m
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 11/10/2016.
|
||||
//
|
||||
//
|
||||
|
||||
#import "SBComboBoxCellView.h"
|
||||
|
||||
@implementation SBComboBoxCellView
|
||||
|
||||
- (void)setBackgroundStyle:(NSBackgroundStyle)backgroundStyle
|
||||
{
|
||||
[super setBackgroundStyle:backgroundStyle];
|
||||
if (backgroundStyle == NSBackgroundStyleDark) {
|
||||
self.comboBox.textColor = [NSColor controlHighlightColor];
|
||||
}
|
||||
else {
|
||||
self.comboBox.textColor = [NSColor controlTextColor];
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user