助阵页面修改
parent
81721ad1d5
commit
35edc7f8d7
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue