diff --git a/Assets/ManagedResources/Prefabs/UI/Guild/DeathPos/DeathPosRewardPopup.prefab b/Assets/ManagedResources/Prefabs/UI/Guild/DeathPos/DeathPosRewardPopup.prefab index 9c90883acf..05c04e07fe 100644 --- a/Assets/ManagedResources/Prefabs/UI/Guild/DeathPos/DeathPosRewardPopup.prefab +++ b/Assets/ManagedResources/Prefabs/UI/Guild/DeathPos/DeathPosRewardPopup.prefab @@ -310,8 +310,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: -43.47496} - m_SizeDelta: {x: 934.4, y: 1125.3} + m_AnchoredPosition: {x: 0, y: -61.1} + m_SizeDelta: {x: 934.4, y: 1090.1} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &817148689261127693 CanvasRenderer: diff --git a/Assets/ManagedResources/~Lua/Modules/DynamicActivity/TimeLimitedCall.lua b/Assets/ManagedResources/~Lua/Modules/DynamicActivity/TimeLimitedCall.lua index a509332d1b..c15ae3188b 100644 --- a/Assets/ManagedResources/~Lua/Modules/DynamicActivity/TimeLimitedCall.lua +++ b/Assets/ManagedResources/~Lua/Modules/DynamicActivity/TimeLimitedCall.lua @@ -402,7 +402,10 @@ function TimeLimitedCall:OnShow(_sortingOrder,_parent) local configinfo= ConfigManager.GetConfigDataByKey(ConfigName.HeroConfig, "Id", m.id) --LogGreen("configinfo.PropertyName:"..configinfo.PropertyName) Util.GetGameObject(tempGo,"icon"):GetComponent("Image").sprite=Util.LoadSprite(GetJobSpriteStrByJobNum(configinfo.PropertyName)) - Util.GetGameObject(tempGo,"name"):GetComponent("Text").text=GetLanguageStrById(GetLanguageStrById(configinfo.ReadingName)) + if GetCurLanguage() ~= 0 and LengthString(GetLanguageStrById(GetLanguageStrById(configinfo.ReadingName))) > 6 then + Util.GetGameObject(tempGo,"name"):GetComponent("Text").text = SubString(GetLanguageStrById(GetLanguageStrById(configinfo.ReadingName)),5).."..." + -- Util.GetGameObject(tempGo,"name"):GetComponent("Text").text=GetLanguageStrById(GetLanguageStrById(configinfo.ReadingName)) + end if activityType[activityId].bg == "Bg1" then SetTextVerTial(Util.GetGameObject(tempGo,"name"),actTypePos[n],"MiddleLeft",1) end