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

Commit

Permalink
fix: finished the rotations description.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Aug 1, 2023
1 parent a75f140 commit 6bebf95
Show file tree
Hide file tree
Showing 3 changed files with 266 additions and 181 deletions.
9 changes: 9 additions & 0 deletions RotationSolver.Basic/Attributes/LinkDescriptionAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,18 @@ public class LinkDescriptionAttribute : Attribute
/// </summary>
/// <param name="path"></param>
/// <param name="description"></param>
[Obsolete]
public LinkDescriptionAttribute(string path, string description = "")
{
Path = path;
Description = description;
}

/// <summary>
///
/// </summary>
public LinkDescriptionAttribute()
{

}
}
4 changes: 1 addition & 3 deletions RotationSolver/UI/CollapsingHeaderGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public void Draw()

try
{
ImGui.Spacing();
ImGui.Separator();
var selected = index == _openedIndex;
ImGui.PushFont(ImGuiHelper.GetFont(HeaderSize));
Expand All @@ -64,11 +65,8 @@ public void Draw()
}
if (selected)
{
ImGui.Indent();
header.Value();
ImGui.Unindent();
}
ImGui.Spacing();
}
catch (Exception ex)
{
Expand Down
Loading

0 comments on commit 6bebf95

Please sign in to comment.