diff --git a/src/ExplorerCore.cs b/src/ExplorerCore.cs index 7a0aaa7..9bd8543 100644 --- a/src/ExplorerCore.cs +++ b/src/ExplorerCore.cs @@ -19,7 +19,7 @@ namespace UnityExplorer public static class ExplorerCore { public const string NAME = "UnityExplorer"; - public const string VERSION = "4.0.2"; + public const string VERSION = "4.0.3"; public const string AUTHOR = "Sinai"; public const string GUID = "com.sinai.unityexplorer"; diff --git a/src/UI/Widgets/ScrollPool/ScrollPool.cs b/src/UI/Widgets/ScrollPool/ScrollPool.cs index bcd5365..7d79f47 100644 --- a/src/UI/Widgets/ScrollPool/ScrollPool.cs +++ b/src/UI/Widgets/ScrollPool/ScrollPool.cs @@ -298,7 +298,7 @@ namespace UnityExplorer.UI.Widgets if (CellPool.Count > 1) { int index = CellPool.Count - 1 - (topPoolIndex % (CellPool.Count - 1)); - cell.Rect.SetSiblingIndex(index); + cell.Rect.SetSiblingIndex(index + 1); if (bottomPoolIndex == index - 1) bottomPoolIndex++;