|
@@ -81,7 +81,7 @@ namespace GFGGame
|
|
base.OnShown();
|
|
base.OnShown();
|
|
_ui.m_listType1.selectedIndex = 0;
|
|
_ui.m_listType1.selectedIndex = 0;
|
|
_ui.m_c1.selectedIndex = 0;
|
|
_ui.m_c1.selectedIndex = 0;
|
|
- _ui.m_listType1.scrollPane.SetPercX(0,false);
|
|
|
|
|
|
+ _ui.m_listType1.scrollPane.SetPercX(0, false);
|
|
|
|
|
|
if (DressUpMenuItemDataManager.isLoading)
|
|
if (DressUpMenuItemDataManager.isLoading)
|
|
{
|
|
{
|
|
@@ -118,7 +118,7 @@ namespace GFGGame
|
|
GObject gObject = context.data as GObject;
|
|
GObject gObject = context.data as GObject;
|
|
|
|
|
|
int index = _ui.m_listType1.GetChildIndex(gObject);
|
|
int index = _ui.m_listType1.GetChildIndex(gObject);
|
|
- if(_lastClickIndex.typeIndex == 1 && _lastClickIndex.index == index)
|
|
|
|
|
|
+ if (_lastClickIndex.typeIndex == 1 && _lastClickIndex.index == index)
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -321,7 +321,7 @@ namespace GFGGame
|
|
{
|
|
{
|
|
UpdateItemIdListByType1(_lastClickIndex.index);
|
|
UpdateItemIdListByType1(_lastClickIndex.index);
|
|
}
|
|
}
|
|
- else if(_lastClickIndex.typeIndex == 2)
|
|
|
|
|
|
+ else if (_lastClickIndex.typeIndex == 2)
|
|
{
|
|
{
|
|
UpdateItemIdListByType2(_lastClickIndex.index);
|
|
UpdateItemIdListByType2(_lastClickIndex.index);
|
|
}
|
|
}
|
|
@@ -330,7 +330,7 @@ namespace GFGGame
|
|
{
|
|
{
|
|
_itemIdList = DressUpMenuItemDataManager.DressSearch(_itemIdList);
|
|
_itemIdList = DressUpMenuItemDataManager.DressSearch(_itemIdList);
|
|
}
|
|
}
|
|
- else if(context.data.ToString() == ConstMessage.DRESS_FILTER)
|
|
|
|
|
|
+ else if (context.data.ToString() == ConstMessage.DRESS_FILTER)
|
|
{
|
|
{
|
|
_itemIdList = DressUpMenuItemDataManager.DressFilter(_itemIdList);
|
|
_itemIdList = DressUpMenuItemDataManager.DressFilter(_itemIdList);
|
|
}
|
|
}
|