ControlLook: Don't tint the selected menu item color.

Now that we use the actual selected menu item ui_color, this tinting is not
needed. In fact it makes the selected item too dark.

Thanks diver for noticing.
This commit is contained in:
Ryan Leavengood 2012-08-19 18:06:57 -04:00
parent fa2fa02613
commit d7f6b4c18c

View File

@ -344,7 +344,6 @@ BControlLook::DrawMenuItemBackground(BView* view, BRect& rect,
if ((flags & B_ACTIVATED) != 0) {
topTint = 0.9;
bottomTint = 1.05;
selectedColor = tint_color(base, 1.26);
} else if ((flags & B_DISABLED) != 0) {
topTint = 0.80;
bottomTint = 1.07;