mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
overlay: change active option color to green
This commit is contained in:
@@ -2634,7 +2634,7 @@ namespace overlay::windows {
|
|||||||
if (option.disabled || definition.disabled) {
|
if (option.disabled || definition.disabled) {
|
||||||
ImGui::TextColored(ImVec4(1.f, 0.4f, 0.f, 1.f), "%s", definition.title.c_str());
|
ImGui::TextColored(ImVec4(1.f, 0.4f, 0.f, 1.f), "%s", definition.title.c_str());
|
||||||
} else {
|
} else {
|
||||||
ImGui::TextColored(ImVec4(1.f, 0.7f, 0.f, 1.f), "%s", definition.title.c_str());
|
ImGui::TextColored(ImVec4(0.f, 1.f, 0.f, 1.f), "%s", definition.title.c_str());
|
||||||
}
|
}
|
||||||
} else if (definition.hidden
|
} else if (definition.hidden
|
||||||
|| (!definition.game_name.empty() && definition.game_name != this->games_selected_name)) {
|
|| (!definition.game_name.empty() && definition.game_name != this->games_selected_name)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user