|
@@ -92,7 +92,7 @@ namespace GFGGame
|
|
|
private void FilterItems(EventContext context)
|
|
|
{
|
|
|
UpdateListSuit();
|
|
|
-
|
|
|
+
|
|
|
if (context.data.ToString() == ConstMessage.DRESS_SEARCH)
|
|
|
{
|
|
|
_suitIds = DressUpMenuItemDataManager.DressSearch(_suitIds, DressFilterItemType.Suit);
|
|
@@ -152,6 +152,7 @@ namespace GFGGame
|
|
|
|
|
|
_ui.m_listSuitCom.m_listSuit.numItems = _suitIds.Count;
|
|
|
_ui.m_listSuitCom.m_listSuit.scrollPane.ScrollTop();
|
|
|
+ UpdateSuitStatus();
|
|
|
}
|
|
|
|
|
|
private void RenderListSuitItem(int index, GObject item)
|
|
@@ -181,7 +182,7 @@ namespace GFGGame
|
|
|
UI_SuitComitem.ProxyEnd();
|
|
|
}
|
|
|
|
|
|
- private void UpdateSuitStatus(EventContext eventContext)
|
|
|
+ private void UpdateSuitStatus(EventContext eventContext = null)
|
|
|
{
|
|
|
int num = _ui.m_listSuitCom.m_listSuit.numChildren;
|
|
|
for (int i = 0; i < num; i++)
|