Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: change ui under rotation tab item.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Jan 22, 2023
1 parent 0254b12 commit f10607c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions RotationSolver/Windows/RotationConfigWindow_Rotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@ private void DrawRotationTab()
{
ImGui.TextWrapped(LocalizationManager.RightLang.Configwindow_AttackItem_Description);

ImGui.BeginChild("Attack Items", new Vector2(0f, -1f), true);
ImGui.PushStyleVar(ImGuiStyleVar.ItemSpacing, new Vector2(0f, 5f));

if (ImGui.BeginTabBar("Job Items"))
{
DrawRoleItems();

ImGui.EndTabBar();
}
ImGui.PopStyleVar();
ImGui.EndChild();
}

private static void DrawRoleItems()
Expand All @@ -43,7 +42,11 @@ private static void DrawRoleItems()

if (ImGui.BeginTabItem(key.ToName()))
{
DrawRotations(rotations);
if (ImGui.BeginChild("Rotation Items", new Vector2(0f, -1f), true))
{
DrawRotations(rotations);
ImGui.EndChild();
}
ImGui.EndTabItem();
}

Expand Down

0 comments on commit f10607c

Please sign in to comment.