Skip to content

Commit

Permalink
Revert "Fixed menubar items position (#763)"
Browse files Browse the repository at this point in the history
This reverts commit 3f5af8e.
  • Loading branch information
briaguya-ai authored Jul 14, 2022
1 parent 4cdbc2d commit eb3bc20
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions libultraship/libultraship/ImGuiImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -736,10 +736,6 @@ namespace SohImGui {
ImGui::EndMenu();
}

ImGui::Separator();

ImGui::SetCursorPosY(0.0f);

if (ImGui::BeginMenu("Audio")) {
EnhancementSliderFloat("Master Volume: %d %%", "##Master_Vol", "gGameMasterVolume", 0.0f, 1.0f, "", 1.0f, true);

Expand All @@ -751,8 +747,6 @@ namespace SohImGui {
ImGui::EndMenu();
}

ImGui::SetCursorPosY(0.0f);

if (ImGui::BeginMenu("Controller"))
{
EnhancementCheckbox("Use Controller Navigation", "gControlNav");
Expand Down Expand Up @@ -781,8 +775,6 @@ namespace SohImGui {
ImGui::EndMenu();
}

ImGui::SetCursorPosY(0.0f);

if (ImGui::BeginMenu("Graphics"))
{
EnhancementSliderFloat("Internal Resolution: %d %%", "##IMul", "gInternalResolution", 0.5f, 2.0f, "", 1.0f, true);
Expand Down Expand Up @@ -831,17 +823,13 @@ namespace SohImGui {
ImGui::EndMenu();
}

ImGui::SetCursorPosY(0.0f);

if (ImGui::BeginMenu("Languages")) {
EnhancementRadioButton("English", "gLanguages", 0);
EnhancementRadioButton("German", "gLanguages", 1);
EnhancementRadioButton("French", "gLanguages", 2);
ImGui::EndMenu();
}

ImGui::SetCursorPosY(0.0f);

if (ImGui::BeginMenu("Enhancements"))
{
if (ImGui::BeginMenu("Gameplay"))
Expand Down Expand Up @@ -1166,8 +1154,6 @@ namespace SohImGui {
ImGui::EndMenu();
}

ImGui::SetCursorPosY(0.0f);

if (ImGui::BeginMenu("Cheats"))
{
if (ImGui::BeginMenu("Infinite...")) {
Expand Down Expand Up @@ -1205,8 +1191,6 @@ namespace SohImGui {
ImGui::EndMenu();
}

ImGui::SetCursorPosY(0.0f);

if (ImGui::BeginMenu("Developer Tools"))
{
EnhancementCheckbox("OoT Debug Mode", "gDebugEnabled");
Expand All @@ -1227,7 +1211,6 @@ namespace SohImGui {
}

for (const auto& category : windowCategories) {
ImGui::SetCursorPosY(0.0f);
if (ImGui::BeginMenu(category.first.c_str())) {
for (const std::string& name : category.second) {
std::string varName(name);
Expand Down

0 comments on commit eb3bc20

Please sign in to comment.