1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 10:07:36 +08:00

Re-fix null selection

This commit is contained in:
Dean Herbert 2017-12-18 02:26:40 +09:00
parent 19643ba5e6
commit 942054a30f

View File

@ -407,7 +407,7 @@ namespace osu.Game.Screens.Select
currentY += DrawHeight / 2;
scrollableContent.Height = currentY;
if (selectedBeatmapSet?.Filtered.Value == true)
if (selectedBeatmapSet != null && selectedBeatmapSet.State.Value != CarouselItemState.Selected)
{
selectedBeatmapSet = null;
SelectionChanged?.Invoke(null);