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:
parent
ad03f5cede
commit
f2b0602f90
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user