【主界面】右上伸缩条调整
parent
bd1417f9aa
commit
d7cda43ed0
|
@ -21943,7 +21943,7 @@ RectTransform:
|
|||
m_AnchorMin: {x: 0.5, y: 1}
|
||||
m_AnchorMax: {x: 0.5, y: 1}
|
||||
m_AnchoredPosition: {x: 48, y: 72}
|
||||
m_SizeDelta: {x: 170, y: 709.92}
|
||||
m_SizeDelta: {x: 170, y: 220}
|
||||
m_Pivot: {x: 1, y: 1}
|
||||
--- !u!222 &6392692323906310469
|
||||
CanvasRenderer:
|
||||
|
|
|
@ -758,7 +758,9 @@ function this.CreatActivity()
|
|||
end
|
||||
end)
|
||||
end
|
||||
this.SetRightBarSize()
|
||||
Timer.New(function ()
|
||||
this.SetRightBarSize()
|
||||
end,0.2):Start()
|
||||
-- CheckRedPointStatus(RedPointType.RightUp2)
|
||||
end
|
||||
|
||||
|
@ -777,6 +779,7 @@ function this.SetRightBarSize()
|
|||
rectSize.sizeDelta = Vector3.New(160,220,0)
|
||||
btnImg.rotation = Quaternion.Euler(Vector3.New(0,0,-90))
|
||||
else
|
||||
LogRed("gridSize.sizeDelta:"..tostring(gridSize.sizeDelta))
|
||||
bgSize.sizeDelta = gridSize.sizeDelta + Vector3.New(0,100,0)
|
||||
rectSize.sizeDelta = gridSize.sizeDelta
|
||||
btnImg.rotation = Quaternion.Euler(Vector3.New(0,0,90))
|
||||
|
|
Loading…
Reference in New Issue