mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-16 00:07:52 +08:00
Added Search page and AutoCompleter
This commit is contained in:
@ -223,7 +223,7 @@ namespace UnityExplorer.UI.Widgets
|
||||
cache = null;
|
||||
int rangeIndex = GetNormalizedHeight(desiredHeight);
|
||||
|
||||
if (rangeToDataIndexCache.Count <= rangeIndex)
|
||||
if (rangeToDataIndexCache.Count <= rangeIndex || rangeIndex < 0)
|
||||
return -1;
|
||||
|
||||
int dataIndex = rangeToDataIndexCache[rangeIndex];
|
||||
|
@ -106,7 +106,7 @@ namespace UnityExplorer.UI.Widgets
|
||||
|
||||
public void Rebuild()
|
||||
{
|
||||
RecreateCellPool(true, true, null);
|
||||
RecreateCellPool(true, true, null);
|
||||
}
|
||||
|
||||
public void EnableTempCache()
|
||||
|
Reference in New Issue
Block a user