mirror of
https://github.com/ppy/osu.git
synced 2025-01-16 05:12:54 +08:00
Merge pull request #693 from ColdVolcano/song-select-fixes
Fix SelectionChanged being invoked twice when changing selection with keyboard.
This commit is contained in:
commit
358be00ff3
@ -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