From eb30882b0971ce6d00199198aacbeb6aaa58d0ee Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 28 Oct 2016 23:40:12 +0900 Subject: [PATCH] More comments. --- osu.Game/Beatmaps/Drawable/BeatmapGroup.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/osu.Game/Beatmaps/Drawable/BeatmapGroup.cs b/osu.Game/Beatmaps/Drawable/BeatmapGroup.cs index 9f83e62fcd..21ec4fbde0 100644 --- a/osu.Game/Beatmaps/Drawable/BeatmapGroup.cs +++ b/osu.Game/Beatmaps/Drawable/BeatmapGroup.cs @@ -114,6 +114,7 @@ namespace osu.Game.Beatmaps.Drawable { State = BeatmapGroupState.Expanded; + //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; }