Skip to content

Commit 3f5af8e

Browse files
KiritoDvbriaguya0
authored andcommitted
Fixed menubar items position (#763)
* Fixed menubar items position * Reverted tooltip tab position
1 parent e57bbfb commit 3f5af8e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

libultraship/libultraship/ImGuiImpl.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,10 @@ namespace SohImGui {
736736
ImGui::EndMenu();
737737
}
738738

739+
ImGui::Separator();
740+
741+
ImGui::SetCursorPosY(0.0f);
742+
739743
if (ImGui::BeginMenu("Audio")) {
740744
EnhancementSliderFloat("Master Volume: %d %%", "##Master_Vol", "gGameMasterVolume", 0.0f, 1.0f, "", 1.0f, true);
741745

@@ -747,6 +751,8 @@ namespace SohImGui {
747751
ImGui::EndMenu();
748752
}
749753

754+
ImGui::SetCursorPosY(0.0f);
755+
750756
if (ImGui::BeginMenu("Controller"))
751757
{
752758
EnhancementCheckbox("Use Controller Navigation", "gControlNav");
@@ -775,6 +781,8 @@ namespace SohImGui {
775781
ImGui::EndMenu();
776782
}
777783

784+
ImGui::SetCursorPosY(0.0f);
785+
778786
if (ImGui::BeginMenu("Graphics"))
779787
{
780788
EnhancementSliderFloat("Internal Resolution: %d %%", "##IMul", "gInternalResolution", 0.5f, 2.0f, "", 1.0f, true);
@@ -823,13 +831,17 @@ namespace SohImGui {
823831
ImGui::EndMenu();
824832
}
825833

834+
ImGui::SetCursorPosY(0.0f);
835+
826836
if (ImGui::BeginMenu("Languages")) {
827837
EnhancementRadioButton("English", "gLanguages", 0);
828838
EnhancementRadioButton("German", "gLanguages", 1);
829839
EnhancementRadioButton("French", "gLanguages", 2);
830840
ImGui::EndMenu();
831841
}
832842

843+
ImGui::SetCursorPosY(0.0f);
844+
833845
if (ImGui::BeginMenu("Enhancements"))
834846
{
835847
if (ImGui::BeginMenu("Gameplay"))
@@ -1154,6 +1166,8 @@ namespace SohImGui {
11541166
ImGui::EndMenu();
11551167
}
11561168

1169+
ImGui::SetCursorPosY(0.0f);
1170+
11571171
if (ImGui::BeginMenu("Cheats"))
11581172
{
11591173
if (ImGui::BeginMenu("Infinite...")) {
@@ -1191,6 +1205,8 @@ namespace SohImGui {
11911205
ImGui::EndMenu();
11921206
}
11931207

1208+
ImGui::SetCursorPosY(0.0f);
1209+
11941210
if (ImGui::BeginMenu("Developer Tools"))
11951211
{
11961212
EnhancementCheckbox("OoT Debug Mode", "gDebugEnabled");
@@ -1211,6 +1227,7 @@ namespace SohImGui {
12111227
}
12121228

12131229
for (const auto& category : windowCategories) {
1230+
ImGui::SetCursorPosY(0.0f);
12141231
if (ImGui::BeginMenu(category.first.c_str())) {
12151232
for (const std::string& name : category.second) {
12161233
std::string varName(name);

0 commit comments

Comments
 (0)