适配调整
parent
f30c5ec59e
commit
3799bfece2
|
|
@ -63,6 +63,8 @@ function M:Show()
|
|||
local scaleY = GRoot.inst.height / self._contentPane.height
|
||||
local scaleX = GRoot.inst.width / self._contentPane.width
|
||||
self._contentPane:SetScale(scaleX, scaleY)
|
||||
self._contentPane.x = 0
|
||||
self._contentPane.y = 0
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue