Update - 1.12.0.120

EN: 1.12.0.120
CN: 1.12.0.120
JP: 1.12.0.124
KR: 1.12.0.124
This commit is contained in:
SL1900
2026-06-30 14:30:00 +09:00
parent 061d344bf2
commit 80af235e05
826 changed files with 625145 additions and 81163 deletions
+8 -1
View File
@@ -675,7 +675,14 @@ function AvgEditorQuickPreview:OnRefreshChoiceGrid(goSv, tbParam)
local rtTxtSelection = btnSelection.transform:Find("AnimRoot/txtSelection"):GetComponent("RectTransform")
local rtImgBg = btnSelection.transform:Find("AnimRoot/imgBg"):GetComponent("RectTransform")
local rtSelection = goSelection:GetComponent("RectTransform")
local sContent = ProcAvgTextContent(tbParam[i + 1], self._panel.nCurLanguageIdx)
local nOffset = 0
if PlayerBaseData:GetPlayerSex() == true then
nOffset = 3
end
local sContent = ProcAvgTextContent(tbParam[i + 1 + nOffset], self._panel.nCurLanguageIdx)
if type(sContent) ~= "string" or sContent == "" then
sContent = ProcAvgTextContent(tbParam[i + 1], self._panel.nCurLanguageIdx)
end
NovaAPI.SetTMPText(txtSelection, sContent)
local nHeight = self:_CalcChoiceHeight(sContent)
rtTxtSelection.sizeDelta = Vector2(rtTxtSelection.sizeDelta.x, nHeight)