starting work on a cleanup/rewrite

This commit is contained in:
Sinai
2021-03-16 18:12:39 +11:00
parent 9665753dc8
commit 9e996816ef
13 changed files with 147 additions and 95 deletions

View File

@ -52,7 +52,7 @@ namespace UnityExplorer.UI.Modules
//if (!SaveToDisk)
// return;
var path = ExplorerCore.ExplorerFolder + @"\Logs";
var path = ExplorerCore.EXPLORER_FOLDER + @"\Logs";
if (!Directory.Exists(path))
Directory.CreateDirectory(path);

View File

@ -109,6 +109,9 @@ namespace UnityExplorer.UI.Modules
private void RefreshResultList()
{
if (m_resultListPageHandler == null || m_results == null)
return;
m_resultListPageHandler.ListCount = m_results.Length;
int newCount = 0;

View File

@ -99,11 +99,11 @@ namespace UnityExplorer.UI
ForceUnlockCursor.UpdateCursorControl();
}
public static void OnSceneChange()
{
SceneExplorer.Instance?.OnSceneChange();
SearchPage.Instance?.OnSceneChange();
}
//public static void OnSceneChange()
//{
// SceneExplorer.Instance?.OnSceneChange();
// SearchPage.Instance?.OnSceneChange();
//}
public static void Update()
{