1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 18:45:37 +08:00

Double check if the selectedpanel is not the provided as argument

This commit is contained in:
ColdVolcano 2017-05-01 00:13:00 -05:00
parent ad03f5cede
commit f2b0602f90

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;