Improved Label color when disabled

This commit is contained in:
Dimitris Panokostas 2020-05-16 01:40:56 +02:00
parent 6776d9b1f3
commit 149c58149e

View file

@ -123,7 +123,7 @@ namespace gcn
graphics->setFont(getFont());
auto color = getForegroundColor();
if (!isEnabled())
color = color - 0x303030;
color = getBaseColor() - 0x101010;
graphics->setColor(color);
graphics->drawText(getCaption(), text_x, text_y, getAlignment());
}