1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 19:52:55 +08:00

Fix BeatmapGroup initialization not correctly setting panels to Hidden.

This commit is contained in:
smoogipooo 2017-09-05 19:26:28 +09:00
parent 5508fa0fd9
commit b871323ed8

View File

@ -33,19 +33,16 @@ namespace osu.Game.Beatmaps.Drawables
public BeatmapSetHeader Header;
private BeatmapGroupState state;
public List<BeatmapPanel> BeatmapPanels;
public BeatmapSetInfo BeatmapSet;
private BeatmapGroupState state;
public BeatmapGroupState State
{
get { return state; }
set
{
if (state == value)
return;
state = value;
switch (value)
@ -97,6 +94,7 @@ namespace osu.Game.Beatmaps.Drawables
Header.AddDifficultyIcons(BeatmapPanels);
}
private void headerGainedSelection(BeatmapSetHeader panel)
{
State = BeatmapGroupState.Expanded;