Jidongchen 3 년 전
부모
커밋
dd6f63519b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Assets/GameMain/Scripts/UI/UICustom.cs

+ 1 - 1
Assets/GameMain/Scripts/UI/UICustom.cs

@@ -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);
         }