diff --git a/lua_probject/base_project/Game/View/Common/BaseView.lua b/lua_probject/base_project/Game/View/Common/BaseView.lua index 98dfd18e..a5b98bdf 100644 --- a/lua_probject/base_project/Game/View/Common/BaseView.lua +++ b/lua_probject/base_project/Game/View/Common/BaseView.lua @@ -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