mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 00:23:22 +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;
|
group.State = BeatmapGroupState.Expanded;
|
||||||
panel.State = PanelSelectedState.Selected;
|
panel.State = PanelSelectedState.Selected;
|
||||||
|
|
||||||
|
if (selectedPanel == panel) return;
|
||||||
|
|
||||||
selectedPanel = panel;
|
selectedPanel = panel;
|
||||||
selectedGroup = group;
|
selectedGroup = group;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user