From 731715ed354ea8f162f7c4f9755415da078148e5 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Fri, 23 Jul 2021 13:43:34 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E5=BC=95=E5=AF=BC?= =?UTF-8?q?=E3=80=91=E5=B9=B8=E8=BF=90=E6=8E=A2=E5=AE=9D=E5=BC=80=E5=90=AF?= =?UTF-8?q?=EF=BC=8C=E7=95=8C=E9=9D=A2=E4=B8=8D=E4=BC=9A=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=88=B0=E5=B9=B8=E8=BF=90=E6=8E=A2=E5=AE=9D?= =?UTF-8?q?=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Guide/GuidePanel.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Guide/GuidePanel.lua b/Assets/ManagedResources/~Lua/Modules/Guide/GuidePanel.lua index 73e83e0112..b2a9793395 100644 --- a/Assets/ManagedResources/~Lua/Modules/Guide/GuidePanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Guide/GuidePanel.lua @@ -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))