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:
parent
fa2fa02613
commit
d7f6b4c18c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user