mirror of https://github.com/ppy/osu
Fix carousel not remembering last selection correctly
This commit is contained in:
parent
3861a92422
commit
8f9e97b4cc
|
@ -104,7 +104,8 @@ protected virtual void PerformSelection()
|
|||
|
||||
private void updateSelected(CarouselItem newSelection)
|
||||
{
|
||||
LastSelected = newSelection;
|
||||
if (newSelection != null)
|
||||
LastSelected = newSelection;
|
||||
updateSelectedIndex();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue