Use device NS colors consistently
This commit is contained in:
parent
70d61869a5
commit
93bbe8e70b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue