From 58fd5b8f101b52b99653028100502beabb9b43fc Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 4 Sep 2021 21:47:42 +0200 Subject: [PATCH] Fixed an issue with the help prompts text color when the menu was opened. --- es-core/src/HelpStyle.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/es-core/src/HelpStyle.cpp b/es-core/src/HelpStyle.cpp index b351906f7..5c0f069f1 100644 --- a/es-core/src/HelpStyle.cpp +++ b/es-core/src/HelpStyle.cpp @@ -49,12 +49,16 @@ void HelpStyle::applyTheme(const std::shared_ptr& theme, const std::s if (elem->has("textColorDimmed")) textColorDimmed = elem->get("textColorDimmed"); + else + textColorDimmed = textColor; if (elem->has("iconColor")) iconColor = elem->get("iconColor"); if (elem->has("iconColorDimmed")) iconColorDimmed = elem->get("iconColorDimmed"); + else + iconColorDimmed = iconColor; if (elem->has("fontPath") || elem->has("fontSize")) font = Font::getFromTheme(elem, ThemeFlags::ALL, font);