From f8984d6b5ce662283bc355881d833d0c6a362e0a Mon Sep 17 00:00:00 2001 From: sonoftunk Date: Wed, 23 Nov 2022 07:51:48 -0500 Subject: [PATCH] Check Tracker - Works around issue where single characters don't show in EnhancementCombobox, and fixes a label for combo buttons held option --- .../Enhancements/randomizer/randomizer_check_tracker.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/soh/soh/Enhancements/randomizer/randomizer_check_tracker.cpp b/soh/soh/Enhancements/randomizer/randomizer_check_tracker.cpp index 165df29e5..f64a6f589 100644 --- a/soh/soh/Enhancements/randomizer/randomizer_check_tracker.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer_check_tracker.cpp @@ -688,8 +688,8 @@ void ImGuiDrawTwoColorPickerSection(const char* text, const char* cvarMainName, const char* windowType[] = { "Floating", "Window" }; const char* displayType[] = { "Always", "Combo Button Hold" }; -const char* buttonStrings[] = { "A", "B", "C-Up", "C-Down", "C-Left", "C-Right", "L", - "Z", "R", "Start", "D-Up", "D-Down", "D-Left", "D-Right" }; +const char* buttonStrings[] = { "A Button", "B Button", "C-Up", "C-Down", "C-Left", "C-Right", "L Button", + "Z Button", "R Button", "Start", "D-Up", "D-Down", "D-Left", "D-Right" }; void DrawCheckTrackerOptions(bool& open) { if (!open) { CVar_SetS32("gCheckTrackerSettingsEnabled", 0); @@ -733,10 +733,10 @@ void DrawCheckTrackerOptions(bool& open) { ImGui::SameLine(); UIWidgets::EnhancementCombobox("gCheckTrackerDisplayType", displayType, 2, 0); if (CVar_GetS32("gCheckTrackerDisplayType", 0) > 0) { - ImGui::Text("Combo Button 2"); + ImGui::Text("Combo Button 1"); ImGui::SameLine(); UIWidgets::EnhancementCombobox("gCheckTrackerComboButton1", buttonStrings, 14, 6); - ImGui::Text("Combo Button 1"); + ImGui::Text("Combo Button 2"); ImGui::SameLine(); UIWidgets::EnhancementCombobox("gCheckTrackerComboButton2", buttonStrings, 14, 8); }