|
@@ -563,7 +563,7 @@ namespace MetaClient
|
|
|
|
|
|
float _x = _obj.GetComponent<RectTransform>().offsetMin.x;
|
|
|
int _childNum = _obj.transform.childCount;
|
|
|
- float _y = _childNum > 8 ? -240 * (_childNum - 8) : 0;
|
|
|
+ float _y = _childNum > 7 ? -240 * (_childNum - 7) : 0;
|
|
|
_obj.GetComponent<RectTransform>().offsetMax = new Vector2(_x, 0);
|
|
|
_obj.GetComponent<RectTransform>().offsetMin = new Vector2(_x, _y);
|
|
|
}
|