From 93bbe8e70b34cff180df861da7e32484025b1d86 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 2 Mar 2017 09:22:57 -0800 Subject: [PATCH] Use device NS colors consistently --- atom/browser/ui/cocoa/atom_touch_bar.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/ui/cocoa/atom_touch_bar.mm b/atom/browser/ui/cocoa/atom_touch_bar.mm index 621de194eafd..b93c2cc3f57a 100644 --- a/atom/browser/ui/cocoa/atom_touch_bar.mm +++ b/atom/browser/ui/cocoa/atom_touch_bar.mm @@ -175,7 +175,7 @@ static NSTouchBarItemIdentifier SliderIdentifier = @"com.electron.touchbar.slide - (NSColor*)colorFromHexColorString:(const std::string&)colorString { SkColor color = atom::ParseHexColor(colorString); - return skia::SkColorToCalibratedNSColor(color); + return skia::SkColorToDeviceNSColor(color); } - (NSTouchBarItem*)makeButtonForID:(NSString*)id