diff --git a/es-core/src/components/ComponentList.cpp b/es-core/src/components/ComponentList.cpp index 135b3df7b..7f617e8ea 100644 --- a/es-core/src/components/ComponentList.cpp +++ b/es-core/src/components/ComponentList.cpp @@ -198,7 +198,7 @@ void ComponentList::render(const glm::mat4& parentTrans) // For the row where the cursor is at, we want to remove any hue from the // font or image before inverting, as it would otherwise lead to an ugly // inverted color (e.g. red inverting to a green hue). - if (i == mCursor && it->component->getValue() != "") { + if (mFocused && i == mCursor && it->component->getValue() != "") { // Check if we're dealing with text or an image component. bool isTextComponent = true; unsigned int origColor = it->component->getColor();