适配调整

master
1076390229 2025-08-06 21:44:48 +08:00
parent f30c5ec59e
commit 3799bfece2
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ function M:Show()
local scaleY = GRoot.inst.height / self._contentPane.height local scaleY = GRoot.inst.height / self._contentPane.height
local scaleX = GRoot.inst.width / self._contentPane.width local scaleX = GRoot.inst.width / self._contentPane.width
self._contentPane:SetScale(scaleX, scaleY) self._contentPane:SetScale(scaleX, scaleY)
self._contentPane.x = 0
self._contentPane.y = 0
end end
end end
end end