mirror of https://github.com/ppy/osu
Re-fix null selection
This commit is contained in:
parent
19643ba5e6
commit
942054a30f
|
@ -407,7 +407,7 @@ void performMove(float y, float? startY = null)
|
|||
currentY += DrawHeight / 2;
|
||||
scrollableContent.Height = currentY;
|
||||
|
||||
if (selectedBeatmapSet?.Filtered.Value == true)
|
||||
if (selectedBeatmapSet != null && selectedBeatmapSet.State.Value != CarouselItemState.Selected)
|
||||
{
|
||||
selectedBeatmapSet = null;
|
||||
SelectionChanged?.Invoke(null);
|
||||
|
|
Loading…
Reference in New Issue