diff --git a/plugins/ui/source/ui/hex_editor.cpp b/plugins/ui/source/ui/hex_editor.cpp index 6ab93c777..3f84f31c2 100644 --- a/plugins/ui/source/ui/hex_editor.cpp +++ b/plugins/ui/source/ui/hex_editor.cpp @@ -501,7 +501,7 @@ namespace hex::ui { // Get byte foreground color auto popForeground = SCOPE_GUARD { ImGui::PopStyleColor(); }; - if (foregroundColor.has_value() && !m_editingAddress.has_value()) + if (foregroundColor.has_value() && m_editingAddress != byteAddress) ImGui::PushStyleColor(ImGuiCol_Text, *foregroundColor); else popForeground.release();