mirror of
https://github.com/ppy/osu
synced 2024-12-13 02:17:32 +00:00
Fix selection not collapsing when clicking set headers exclusively.
This commit is contained in:
parent
c969e0b4f0
commit
d47924ff7b
@ -117,6 +117,8 @@ namespace osu.Game.Beatmaps.Drawable
|
||||
//we want to make sure one of our children is selected in the case none have been selected yet.
|
||||
if (SelectedPanel == null)
|
||||
BeatmapPanels.First().State = PanelSelectedState.Selected;
|
||||
else
|
||||
SelectionChanged?.Invoke(this, SelectedPanel.Beatmap);
|
||||
}
|
||||
|
||||
private void panelGainedSelection(BeatmapPanel panel)
|
||||
|
Loading…
Reference in New Issue
Block a user