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

Commit

Permalink
fix: fix for rotation role description mistakes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Jan 22, 2023
1 parent ab23d20 commit 5116d08
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions RotationSolver/Windows/RotationConfigWindow_Rotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@ private static void DrawRoleItems()

if (ImGui.BeginTabItem(key.ToName()))
{
//Display the tooltip on the header.
if (ImGui.IsItemHovered() && _roleDescriptionValue.TryGetValue(key, out string roleDesc))
{
ImGui.SetTooltip(roleDesc);
}

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

//Display the tooltip on the header.
if (ImGui.IsItemHovered() && _roleDescriptionValue.TryGetValue(key, out string roleDesc))
{
ImGui.SetTooltip(roleDesc);
}
}
}

Expand Down

0 comments on commit 5116d08

Please sign in to comment.