Merge pull request #693 from ColdVolcano/song-select-fixes

Fix SelectionChanged being invoked twice when changing selection with keyboard.
This commit is contained in:
Dean Herbert 2017-05-01 15:54:00 +09:00 committed by GitHub
commit 358be00ff3

View File

@ -343,6 +343,8 @@ namespace osu.Game.Screens.Select
group.State = BeatmapGroupState.Expanded;
panel.State = PanelSelectedState.Selected;
if (selectedPanel == panel) return;
selectedPanel = panel;
selectedGroup = group;