From e8c8891d5dad35b17939bc1badd5968a7b7e40b8 Mon Sep 17 00:00:00 2001 From: WilliamQiufeng Date: Fri, 22 Nov 2024 01:57:15 +0000 Subject: [PATCH] Add timing group visibility --- Quaver.API/Maps/Structures/TimingGroup.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Quaver.API/Maps/Structures/TimingGroup.cs b/Quaver.API/Maps/Structures/TimingGroup.cs index b8ecbcf94..86a49d988 100644 --- a/Quaver.API/Maps/Structures/TimingGroup.cs +++ b/Quaver.API/Maps/Structures/TimingGroup.cs @@ -23,6 +23,11 @@ public abstract class TimingGroup /// public string ColorRgb { get; [MoonSharpVisible(false)] set; } + /// + /// Is the timing group hidden in the editor? + /// + public bool Hidden { get; [MoonSharpVisible(false)] set; } + /// /// Converts the stringified color to a System.Drawing color /// @@ -42,7 +47,7 @@ public Color GetColor() => /// protected bool Equals(TimingGroup other) { - return ColorRgb == other.ColorRgb; + return ColorRgb == other.ColorRgb && Hidden == other.Hidden; } ///