From 5954908f2372ec3e82e8e6b0f29afa9b7f2b5eec Mon Sep 17 00:00:00 2001 From: Demur Rumed Date: Mon, 13 Jan 2025 03:03:58 +0000 Subject: [PATCH] Fix ImgUI red boxes Invisible buttons need to have unique IDS too --- soh/soh/Enhancements/randomizer/randomizer_check_tracker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/randomizer/randomizer_check_tracker.cpp b/soh/soh/Enhancements/randomizer/randomizer_check_tracker.cpp index 0af0b0128f..87a3e62a56 100644 --- a/soh/soh/Enhancements/randomizer/randomizer_check_tracker.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer_check_tracker.cpp @@ -1546,7 +1546,7 @@ void DrawLocation(RandomizerCheck rc) { SaveManager::Instance->SaveSection(gSaveContext.fileNum, sectionId, true); } } else { - ImGui::InvisibleButton("", ImVec2(20.0f, 10.0f)); + ImGui::InvisibleButton(std::to_string(rc).c_str(), ImVec2(20.0f, 10.0f)); } ImGui::SameLine();