void AddHistoryItemForFile(UiListView historyList, string fullPath) { if (GlobalData.AreEffectsUnderway()) { return; } var fileName = Path.GetFileNameWithoutExtension(fullPath); var rt = AddHelper(fullPath, fileName); historyList.Add(rt); }
void MoveHistoryItemToTop(UiListView historyList, string fullPath) { var item = historyList.GetItemByFullPath(fullPath); historyList.MoveToTop(item.transform); }