助阵页面修改

xiyou_yueNanZhengshi
PC-202302260912\Administrator 2024-10-11 11:11:27 +08:00
parent 81721ad1d5
commit 35edc7f8d7
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ function HelpFightPanel:InitComponent()
self.ScrollBar = Util.GetGameObject(self.gameObject, "Scrollbar"):GetComponent("Scrollbar")
local v2 = self.scrollRect:GetComponent("RectTransform").rect
self.ScrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView, self.scrollRect.transform, self.prefab,
self.ScrollBar, Vector2.New(v2.width, v2.height), 1, 4, Vector2.New(75, 20))
self.ScrollBar, Vector2.New(v2.width, v2.height), 1, 2, Vector2.New(300, 20))
self.ScrollView.moveTween.MomentumAmount = 1
self.ScrollView.moveTween.Strength = 1
end