From b36b39444a0a96b2d758ba9be406d37a2798d6be Mon Sep 17 00:00:00 2001 From: wangzhenxing <1545929779@qq.com> Date: Thu, 11 Jan 2024 16:13:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A5=9E=E5=8D=B0=E8=AF=A6=E6=83=85=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/GodPrint/GodPrintPopUp.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/GodPrint/GodPrintPopUp.lua b/Assets/ManagedResources/~Lua/Modules/GodPrint/GodPrintPopUp.lua index cb82e2fe81..bb382e1b1d 100644 --- a/Assets/ManagedResources/~Lua/Modules/GodPrint/GodPrintPopUp.lua +++ b/Assets/ManagedResources/~Lua/Modules/GodPrint/GodPrintPopUp.lua @@ -409,10 +409,11 @@ function GodPrintPopUp:RefreshShow(_type) go:GetComponent("Text").enabled = true end end + LayoutRebuilder.ForceRebuildLayoutImmediate(self.skillObj.transform) else self.skillObj:SetActive(false) end - + end @@ -481,6 +482,7 @@ function GodPrintPopUp:RefreshShow(_type) end,true,true) end end + LayoutRebuilder.ForceRebuildLayoutImmediate(self.midBar.transform) end --优化滚动条数据赋值