mirror of
https://github.com/ppy/osu.git
synced 2025-03-18 17:07:20 +08:00
Revert "Fix crash due to misordered selection events"
This reverts commit 2d74609f5030b07844fab427bb4f11e7915ebdbd.
This commit is contained in:
parent
1f0aaabf7b
commit
1c64b70b06
@ -559,14 +559,6 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
if (state.NewValue == CarouselItemState.Selected)
|
||||
{
|
||||
if (!AllowSelection)
|
||||
{
|
||||
// CarouselBeatmap may trigger a state change from OnClick, unaware that it is not allowed to.
|
||||
// we revert this change here to ensure sanity.
|
||||
c.State.Value = state.OldValue;
|
||||
return;
|
||||
}
|
||||
|
||||
selectedBeatmapSet = set;
|
||||
SelectionChanged?.Invoke(c.Beatmap);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user