[NUI] Fix svace issues for wearable
authorzhouleonlei <zhouleon.lei@samsung.com>
Mon, 1 Mar 2021 06:16:34 +0000 (14:16 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 3 Mar 2021 07:56:53 +0000 (16:56 +0900)
src/Tizen.NUI.Wearable/src/internal/FishEyeLayoutManager.cs

index b677003..751ae48 100755 (executable)
@@ -112,6 +112,10 @@ namespace Tizen.NUI.Wearable
             }
 
             RecycleItem prevItem = centerItem;
+            if (prevItem == null)
+            {
+                return;
+            }
 
             // Front of center item
             for (int i = FocusedIndex - 1; i > -1; i--)