* use a darker text color for disabled yet selected looking menu items
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22038 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -461,11 +461,8 @@ BMenuItem::Draw()
|
|||||||
// set high color
|
// set high color
|
||||||
if (enabled)
|
if (enabled)
|
||||||
fSuper->SetHighColor(ui_color(B_MENU_ITEM_TEXT_COLOR));
|
fSuper->SetHighColor(ui_color(B_MENU_ITEM_TEXT_COLOR));
|
||||||
else if (selected)
|
|
||||||
fSuper->SetHighColor(tint_color(noTint,
|
|
||||||
B_LIGHTEN_1_TINT));
|
|
||||||
else
|
else
|
||||||
fSuper->SetHighColor(tint_color(noTint,
|
fSuper->SetHighColor(tint_color(bgColor,
|
||||||
B_DISABLED_LABEL_TINT));
|
B_DISABLED_LABEL_TINT));
|
||||||
|
|
||||||
// draw content
|
// draw content
|
||||||
|
|||||||
Reference in New Issue
Block a user