From 012994ed02d6904f2ed05281a40410ebbfb0cffb Mon Sep 17 00:00:00 2001 From: Sinai <49360850+sinai-dev@users.noreply.github.com> Date: Thu, 22 Apr 2021 21:19:48 +1000 Subject: [PATCH] Fix typo --- src/UI/Widgets/ScrollPool/DataHeightCache.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/Widgets/ScrollPool/DataHeightCache.cs b/src/UI/Widgets/ScrollPool/DataHeightCache.cs index e8e96ec..5f1c91e 100644 --- a/src/UI/Widgets/ScrollPool/DataHeightCache.cs +++ b/src/UI/Widgets/ScrollPool/DataHeightCache.cs @@ -80,7 +80,7 @@ namespace UnityExplorer.UI.Widgets public void TakeFromSister(int count) { for (int i = 0, i < count; i++) - Add(sisterCache[ScrollPool.DataSource.GetRealIndexForTempIndex(i)]); + Add(sisterCache[ScrollPool.DataSource.GetRealIndexOfTempIndex(i)]); } public void RemoveLast()