Improved Label color when disabled
This commit is contained in:
parent
6776d9b1f3
commit
149c58149e
1 changed files with 1 additions and 1 deletions
2
external/libguisan/src/widgets/label.cpp
vendored
2
external/libguisan/src/widgets/label.cpp
vendored
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue