From 3ae2d94b77d2821034d64c0f4a026be50fc8b89c Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sat, 22 Sep 2018 02:14:44 -0700 Subject: [PATCH] Fix tooltip background color on Mojave Dark Mode. --- ThirdParty/ToolTip/ToolTipWindow.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ThirdParty/ToolTip/ToolTipWindow.m b/ThirdParty/ToolTip/ToolTipWindow.m index db3470a3e..67b5cb401 100644 --- a/ThirdParty/ToolTip/ToolTipWindow.m +++ b/ThirdParty/ToolTip/ToolTipWindow.m @@ -41,7 +41,7 @@ [self setAlphaValue:0.90]; [self setOpaque:NO]; [self setHasShadow:YES]; - [self setBackgroundColor:[NSColor colorWithDeviceRed:1.0 green:0.96 blue:0.76 alpha:1.0]]; + [self setBackgroundColor:[NSColor textBackgroundColor]]; [self setLevel:NSStatusWindowLevel]; [self setHidesOnDeactivate:YES]; [self setIgnoresMouseEvents:YES]; @@ -114,4 +114,4 @@ } -@end \ No newline at end of file +@end