Skip to content

Commit

Permalink
Fix ImgUI red boxes
Browse files Browse the repository at this point in the history
Invisible buttons need to have unique IDS too
  • Loading branch information
serprex committed Jan 13, 2025
1 parent b774d39 commit 5954908
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 5954908

Please sign in to comment.