1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 11:02:54 +08:00

Fix carousel not remembering last selection correctly

This commit is contained in:
Dean Herbert 2020-03-19 18:07:39 +09:00
parent 3861a92422
commit 8f9e97b4cc

View File

@ -104,7 +104,8 @@ namespace osu.Game.Screens.Select.Carousel
private void updateSelected(CarouselItem newSelection)
{
LastSelected = newSelection;
if (newSelection != null)
LastSelected = newSelection;
updateSelectedIndex();
}