Major Update - 2.0.0.143
EN: 2.0.0.143 CN: 2.0.0.142 JP: 2.0.0.145 KR: 2.0.0.150
This commit is contained in:
@@ -392,6 +392,7 @@ function CharSkillCtrl:RefreshHeight(nType, bMax)
|
||||
local nOtherHeight = bMax and desc_adapt_ui_cfg[nType].otherHeightMax or desc_adapt_ui_cfg[nType].otherHeight
|
||||
local nMaxHeight = Settings.CURRENT_CANVAS_FULL_RECT_HEIGHT - nOtherHeight
|
||||
local wait = function()
|
||||
CS.UnityEngine.UI.LayoutRebuilder.ForceRebuildLayoutImmediate(self._mapNode.Content[nType])
|
||||
coroutine.yield(CS.UnityEngine.WaitForEndOfFrame())
|
||||
local nContentH = self._mapNode.Content[nType].rect.height
|
||||
local bOver = nContentH > nMaxHeight
|
||||
|
||||
Reference in New Issue
Block a user