mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Make BeatmapGroup.Hidden more intelligent
This commit is contained in:
@ -33,7 +33,18 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
|
||||
public BeatmapSetInfo BeatmapSet;
|
||||
|
||||
public bool Hidden;
|
||||
private bool hidden;
|
||||
public bool Hidden
|
||||
{
|
||||
get { return hidden; }
|
||||
set
|
||||
{
|
||||
hidden = value;
|
||||
Header.Alpha = hidden ? 0 : 1;
|
||||
if (hidden)
|
||||
State = BeatmapGroupState.Collapsed;
|
||||
}
|
||||
}
|
||||
|
||||
public BeatmapGroupState State
|
||||
{
|
||||
|
Reference in New Issue
Block a user