Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Quaver.API/Maps/Structures/TimingGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,18 @@
/// to the <see cref="Id"/> of the desired <see cref="TimingGroup"/>.
/// </summary>
[MoonSharpUserData]
public abstract class TimingGroup

Check warning on line 19 in Quaver.API/Maps/Structures/TimingGroup.cs

View workflow job for this annotation

GitHub Actions / build

'TimingGroup' overrides Object.Equals(object o) but does not override Object.GetHashCode()

Check warning on line 19 in Quaver.API/Maps/Structures/TimingGroup.cs

View workflow job for this annotation

GitHub Actions / build

'TimingGroup' overrides Object.Equals(object o) but does not override Object.GetHashCode()
{
/// <summary>
/// The color of the layer (default is white)
/// </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 @@
/// <returns></returns>
protected bool Equals(TimingGroup other)
{
return ColorRgb == other.ColorRgb;
return ColorRgb == other.ColorRgb && Hidden == other.Hidden;
}

/// <summary>
Expand Down
Loading