mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1668493 - macOS 11.0 - Popup Menus separator lines have blue tint r=mstange
Slight color adjustment of the separator. Differential Revision: https://phabricator.services.mozilla.com/D92273
This commit is contained in:
parent
9feb23a7d6
commit
f0efce15ed
@ -1214,7 +1214,7 @@ void nsNativeThemeCocoa::DrawMenuSeparator(CGContextRef cgContext, const CGRect&
|
||||
separatorRect.size.width -= 42;
|
||||
separatorRect.origin.x += 21;
|
||||
// Use a gray color similar to the native separator
|
||||
DeviceColor color = ToDeviceColor(mozilla::gfx::sRGBColor::FromU8(193, 208, 208, 255));
|
||||
DeviceColor color = ToDeviceColor(mozilla::gfx::sRGBColor::FromU8(211, 211, 211, 255));
|
||||
CGContextSetRGBFillColor(cgContext, color.r, color.g, color.b, color.a);
|
||||
CGContextFillRect(cgContext, separatorRect);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user