Skip to content

Commit

Permalink
Add timing group visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamQiufeng committed Nov 22, 2024
1 parent 1d72816 commit e8c8891
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Quaver.API/Maps/Structures/TimingGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ public abstract class TimingGroup
/// </summary>
public string ColorRgb { get; [MoonSharpVisible(false)] set; }

/// <summary>
/// Is the timing group hidden in the editor?
/// </summary>
public bool Hidden { get; [MoonSharpVisible(false)] set; }

/// <summary>
/// Converts the stringified color to a System.Drawing color
/// </summary>
Expand All @@ -42,7 +47,7 @@ public Color GetColor() =>
/// <returns></returns>
protected bool Equals(TimingGroup other)
{
return ColorRgb == other.ColorRgb;
return ColorRgb == other.ColorRgb && Hidden == other.Hidden;
}

/// <summary>
Expand Down

0 comments on commit e8c8891

Please sign in to comment.