Fix ComboBox highlight color.

This commit is contained in:
Damiano Galassi committed 2016-11-10 16:42:33 +01:00
1 parent d53b0d6ad0
commit eb7d2c5ba7
9 files changed
+159 -30

No files matched your search

-11
View File
@@ -10,15 +10,4 @@
@implementation SBComboBoxCellView
- (void)setBackgroundStyle:(NSBackgroundStyle)backgroundStyle
{
[super setBackgroundStyle:backgroundStyle];
if (backgroundStyle == NSBackgroundStyleDark) {
self.comboBox.textColor = [NSColor controlHighlightColor];
}
else {
self.comboBox.textColor = [NSColor controlTextColor];
}
}
@end