Skip to content

Commit

Permalink
Fixed|PopupMenuWidget: Image color should be the same as text color
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 13, 2013
1 parent 22582a7 commit f9f9b29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doomsday/client/src/ui/widgets/popupmenuwidget.cpp
Expand Up @@ -118,7 +118,7 @@ DENG2_OBSERVES(ChildWidgetOrganizer, WidgetUpdate)

void buttonStateChanged(ButtonWidget &button, ButtonWidget::State state)
{
if(state == ButtonWidget::Hover)
if(state != ButtonWidget::Up)
{
button.setImageColor(style().colors().colorf("inverted.text"));
}
Expand Down Expand Up @@ -243,6 +243,7 @@ void PopupMenuWidget::panelClosing()
if(d->hover)
{
d->hover->setTextColor("text");
d->hover->setImageColor(style().colors().colorf("text"));
d->hover = 0;
requestGeometry();
}
Expand Down

0 comments on commit f9f9b29

Please sign in to comment.