mirror of
https://github.com/ppy/osu.git
synced 2025-01-29 06:33:21 +08:00
Select and unselect BeatmapPanel when selecting BeatmapGroup.
This commit is contained in:
parent
33a35ca711
commit
7c8ef2a82b
@ -51,11 +51,15 @@ namespace osu.Game.Beatmaps.Drawable
|
|||||||
difficulties.Show();
|
difficulties.Show();
|
||||||
|
|
||||||
header.State = PanelSelectedState.Selected;
|
header.State = PanelSelectedState.Selected;
|
||||||
|
if (SelectedPanel != null)
|
||||||
|
SelectedPanel.State = PanelSelectedState.Selected;
|
||||||
break;
|
break;
|
||||||
case BeatmapGroupState.Collapsed:
|
case BeatmapGroupState.Collapsed:
|
||||||
FadeTo(0.8f, 250);
|
FadeTo(0.8f, 250);
|
||||||
|
|
||||||
header.State = PanelSelectedState.NotSelected;
|
header.State = PanelSelectedState.NotSelected;
|
||||||
|
if (SelectedPanel != null)
|
||||||
|
SelectedPanel.State = PanelSelectedState.NotSelected;
|
||||||
difficulties.Hide();
|
difficulties.Hide();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user