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
1 changed files with 2 additions and 1 deletions

View File

@ -104,7 +104,8 @@ protected virtual void PerformSelection()
private void updateSelected(CarouselItem newSelection)
{
LastSelected = newSelection;
if (newSelection != null)
LastSelected = newSelection;
updateSelectedIndex();
}