Merge pull request #1081 from garrettjoecox/fixShuffleCowsUI

Change shuffle cows to checkbox and remove extra line
This commit is contained in:
briaguya 2022-08-07 04:12:29 -04:00 committed by GitHub
commit a03ffc90dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3965,9 +3965,8 @@ void DrawRandoEditor(bool& open) {
PaddedSeparator(); PaddedSeparator();
// Shuffle Cows // Shuffle Cows
ImGui::Text(Settings::ShuffleCows.GetName().c_str()); SohImGui::EnhancementCheckbox(Settings::ShuffleCows.GetName().c_str(), "gRandomizeShuffleCows");
InsertHelpHoverText("Cows give a randomized item from the pool upon performing Epona's Song in front of them."); InsertHelpHoverText("Cows give a randomized item from the pool upon performing Epona's Song in front of them.");
SohImGui::EnhancementCombobox("gRandomizeShuffleCows", randoShuffleCows, 2, 0);
PaddedSeparator(); PaddedSeparator();
if(CVar_GetS32("gRandomizeStartingKokiriSword", 0) == 0) { if(CVar_GetS32("gRandomizeStartingKokiriSword", 0) == 0) {
@ -4042,7 +4041,6 @@ void DrawRandoEditor(bool& open) {
"This setting does not effect the item earned from playing\n" "This setting does not effect the item earned from playing\n"
"the Song of Storms and the frog song minigame." "the Song of Storms and the frog song minigame."
); );
PaddedSeparator();
} }
ImGui::PopItemWidth(); ImGui::PopItemWidth();