mirror of
https://github.com/ppy/osu
synced 2025-01-03 04:42:10 +00: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();
|
||||
|
||||
header.State = PanelSelectedState.Selected;
|
||||
if (SelectedPanel != null)
|
||||
SelectedPanel.State = PanelSelectedState.Selected;
|
||||
break;
|
||||
case BeatmapGroupState.Collapsed:
|
||||
FadeTo(0.8f, 250);
|
||||
|
||||
header.State = PanelSelectedState.NotSelected;
|
||||
if (SelectedPanel != null)
|
||||
SelectedPanel.State = PanelSelectedState.NotSelected;
|
||||
difficulties.Hide();
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user