Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev

dev_chengFeng
jiaoyangna 2021-07-23 13:45:43 +08:00
commit ffeacc6bf0
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ function this.ExecuteBehavior(beType, beArgs)
this.button:GetComponent("Button").onClick:RemoveAllListeners()
Util.AddClick(this.button, this.NextGuide)
end)
if UIManager.IsOpen(UIName.MainPanel) and string.find(btn.transform.parent.name, "layer") ~= nil then --主界面的ui按钮位置可能会超框所以做位移处理
if UIManager.IsOpen(UIName.MainPanel) and (string.find(btn.transform.parent.name, "layer") ~= nil or btn.transform.name == "btnXingYunTanBao") then --主界面的ui按钮位置可能会超框所以做位移处理
for k, v in pairs(MainPanel.operateIcon) do
if v.go == btn.gameObject then
MainPanel:SetPosFunc(Vector2.New(v.pos, 0))