mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:43:22 +08:00
Fix BeatmapGroup initialization not correctly setting panels to Hidden.
This commit is contained in:
parent
5508fa0fd9
commit
b871323ed8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user