diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/RoleInfoPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/RoleInfoPopup.lua index 1db9ab0463..705440342b 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/RoleInfoPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/RoleInfoPopup.lua @@ -362,6 +362,7 @@ function this.EquipInfo() --宝器 for m = 1, 2 do Util.GetGameObject(this.babyGrid,"Pre"..m.."/Frame").gameObject:SetActive(false) + Util.GetGameObject(this.babyGrid,"Pre"..m.."/Text"):GetComponent("RectTransform").sizeDelta = GetCurLanguage() == 0 and Vector2.New(48, 95) or Vector2.New(95, 95) end local b=#curHeroData.jewels>0 this.babyTitle.gameObject:SetActive(b) @@ -379,7 +380,7 @@ function this.EquipInfo() local pos= jewelConfig[data.id].Location local o=Util.GetGameObject(this.babyGrid,"Pre"..pos) - Util.GetGameObject(o,"Text"):GetComponent("RectTransform").sizeDelta = GetCurLanguage() == 0 and Vector2.New(48, 95) or Vector2.New(95, 95) + LogRed("!!!") local btn=Util.GetGameObject(o,"Frame") btn.gameObject:SetActive(true) local frame=Util.GetGameObject(o,"Frame"):GetComponent("Image")