【连购礼包】提交
parent
2c1300cb2d
commit
78e8865e95
|
|
@ -2804,8 +2804,8 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 4.7, y: -147.59998}
|
||||
m_SizeDelta: {x: 745.3, y: 828.3}
|
||||
m_AnchoredPosition: {x: 4.7, y: -156.5}
|
||||
m_SizeDelta: {x: 745.3, y: 868.6}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &6588532141008816022
|
||||
CanvasRenderer:
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ function ContinuePackagePanel:InitComponent()
|
|||
local rootHight = self.scrollItem.transform.rect.height
|
||||
local width = self.scrollItem.transform.rect.width
|
||||
self.scrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView, self.scrollItem.transform,
|
||||
self.itemPre, nil, Vector2.New(width, rootHight), 1, 1, Vector2.New(0, 0))
|
||||
self.itemPre, nil, Vector2.New(width, rootHight), 1, 1, Vector2.New(0, -5))
|
||||
self.scrollView.moveTween.MomentumAmount = 1
|
||||
self.scrollView.moveTween.Strength = 2
|
||||
self.scrollView.elastic = false
|
||||
|
|
|
|||
Loading…
Reference in New Issue