From: Damiano Galassi Date: Sat, 4 Aug 2018 09:48:15 +0000 (+0200) Subject: MacGui: corrently display the presets popover on 10.14 dark mode. X-Git-Tag: 1.2.0~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf10a030ffa781f2204dc49186bced88a1750def;p=handbrake MacGui: corrently display the presets popover on 10.14 dark mode. --- diff --git a/macosx/HBPresetsViewController.m b/macosx/HBPresetsViewController.m index b2888d30f..0fe2fa47f 100644 --- a/macosx/HBPresetsViewController.m +++ b/macosx/HBPresetsViewController.m @@ -33,7 +33,7 @@ static void *HBPresetsViewControllerContext = &HBPresetsViewControllerContext; } else { - self.textField.textColor = [NSColor blueColor]; + self.textField.textColor = [NSColor systemBlueColor]; } } else @@ -87,7 +87,7 @@ static void *HBPresetsViewControllerContext = &HBPresetsViewControllerContext; { [super viewDidLoad]; - if (NSAppKitVersionNumber >= NSAppKitVersionNumber10_10) + if (NSAppKitVersionNumber >= NSAppKitVersionNumber10_10 && NSAppKitVersionNumber < 1651) { self.view.appearance = [NSAppearance appearanceNamed:NSAppearanceNameAqua]; }