parent
5b5f006de5
commit
884acb8d69
|
@ -159,13 +159,13 @@ end
|
|||
function this.PanelShowChange()
|
||||
-- this.scrollView = nil
|
||||
if not TabDataIndex then
|
||||
this.scrollView:SetRectTransform(Vector2.New(830,775))
|
||||
this.scrollView.rectTransform.localPosition = Vector3.New(0, -70, 0)
|
||||
this.scrollView:SetRectTransform(Vector2.New(830,895))
|
||||
this.scrollView.rectTransform.localPosition = Vector3.New(0, -140, 0)
|
||||
-- this.record:GetComponent("RectTransform").localPosition = Vector3.New(0, 672- 339, 0)
|
||||
this.tabBox:SetActive(false)
|
||||
else
|
||||
this.scrollView:SetRectTransform(Vector2.New(903,473.25))
|
||||
this.scrollView.rectTransform.localPosition = Vector3.zero
|
||||
this.scrollView:SetRectTransform(Vector2.New(830,895))
|
||||
this.scrollView.rectTransform.localPosition = Vector3.New(0, -140, 0)
|
||||
-- this.record:GetComponent("RectTransform").localPosition = Vector3.New(0, 773 - 339, 0)
|
||||
this.tabBox:SetActive(true)
|
||||
curIndex = 1
|
||||
|
|
Loading…
Reference in New Issue