Re-fix null selection

This commit is contained in:
Dean Herbert 2017-12-18 02:26:40 +09:00
parent 19643ba5e6
commit 942054a30f
1 changed files with 1 additions and 1 deletions

View File

@ -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);