Fix SkinTheme::paintMenuItem() painting code

This commit is contained in:
David Capello 2014-04-25 08:59:00 -03:00
parent af299eecc8
commit 5d824512c2

View File

@ -1236,7 +1236,7 @@ void SkinTheme::paintMenuItem(ui::PaintEvent& ev)
fg = getColor(ThemeColor::MenuItemHighlightText); fg = getColor(ThemeColor::MenuItemHighlightText);
bg = getColor(ThemeColor::MenuItemHighlightFace); bg = getColor(ThemeColor::MenuItemHighlightFace);
} }
else if (widget->hasMouseOver()) { else if (widget->hasMouse()) {
fg = getColor(ThemeColor::MenuItemHotText); fg = getColor(ThemeColor::MenuItemHotText);
bg = getColor(ThemeColor::MenuItemHotFace); bg = getColor(ThemeColor::MenuItemHotFace);
} }