Skip to content

Commit fb49b99

Browse files
authored
Merge pull request #196 from WilliamQiufeng/add-timinggroup-visibility
Add timing group visibility
2 parents 1d72816 + e8c8891 commit fb49b99

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Quaver.API/Maps/Structures/TimingGroup.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ public abstract class TimingGroup
2323
/// </summary>
2424
public string ColorRgb { get; [MoonSharpVisible(false)] set; }
2525

26+
/// <summary>
27+
/// Is the timing group hidden in the editor?
28+
/// </summary>
29+
public bool Hidden { get; [MoonSharpVisible(false)] set; }
30+
2631
/// <summary>
2732
/// Converts the stringified color to a System.Drawing color
2833
/// </summary>
@@ -42,7 +47,7 @@ public Color GetColor() =>
4247
/// <returns></returns>
4348
protected bool Equals(TimingGroup other)
4449
{
45-
return ColorRgb == other.ColorRgb;
50+
return ColorRgb == other.ColorRgb && Hidden == other.Hidden;
4651
}
4752

4853
/// <summary>

0 commit comments

Comments
 (0)