mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
Fixed an issue with the help prompts text color when the menu was opened.
This commit is contained in:
parent
db77b6d0df
commit
58fd5b8f10
|
@ -49,12 +49,16 @@ void HelpStyle::applyTheme(const std::shared_ptr<ThemeData>& theme, const std::s
|
|||
|
||||
if (elem->has("textColorDimmed"))
|
||||
textColorDimmed = elem->get<unsigned int>("textColorDimmed");
|
||||
else
|
||||
textColorDimmed = textColor;
|
||||
|
||||
if (elem->has("iconColor"))
|
||||
iconColor = elem->get<unsigned int>("iconColor");
|
||||
|
||||
if (elem->has("iconColorDimmed"))
|
||||
iconColorDimmed = elem->get<unsigned int>("iconColorDimmed");
|
||||
else
|
||||
iconColorDimmed = iconColor;
|
||||
|
||||
if (elem->has("fontPath") || elem->has("fontSize"))
|
||||
font = Font::getFromTheme(elem, ThemeFlags::ALL, font);
|
||||
|
|
Loading…
Reference in a new issue