Hotfix - 2.0.2.146
EN: 2.0.2.146 CN: 2.0.2.146 JP: 2.0.2.148 KR: 2.0.2.153
This commit is contained in:
@@ -26,6 +26,10 @@ StoryChapterCtrl._mapNodeConfig = {
|
||||
txtTitle2_Show = {sComponentName = "TMP_Text"},
|
||||
imgStoryIcon = {sComponentName = "Image"},
|
||||
TabRedDot = {},
|
||||
rtBtnShowStoryLineList = {
|
||||
sNodeName = "btnShowStoryLineList",
|
||||
sComponentName = "RectTransform"
|
||||
},
|
||||
btnShowStoryLineList = {
|
||||
sComponentName = "UIButton",
|
||||
callback = "OnBtn_ShowStoryLineList"
|
||||
@@ -543,8 +547,10 @@ function StoryChapterCtrl:PlayRootAnim(bIn)
|
||||
self._mapNode.animBtnShowStoryLineList:Play(sAnimName)
|
||||
end
|
||||
function StoryChapterCtrl:SetBtn_IconTitle(nLineId, bForceVisible)
|
||||
local v2On = Vector2(55, 332)
|
||||
local v2Off = Vector2(9999, 9999)
|
||||
if bForceVisible == true then
|
||||
self._mapNode.btnShowStoryLineList.transform.localScale = Vector3.one
|
||||
self._mapNode.rtBtnShowStoryLineList.anchoredPosition = v2On
|
||||
else
|
||||
local b = false
|
||||
if #self.tbLine > 1 then
|
||||
@@ -553,7 +559,7 @@ function StoryChapterCtrl:SetBtn_IconTitle(nLineId, bForceVisible)
|
||||
b = false
|
||||
end
|
||||
end
|
||||
self._mapNode.btnShowStoryLineList.transform.localScale = b == true and Vector3.one or Vector3.zero
|
||||
self._mapNode.rtBtnShowStoryLineList.anchoredPosition = b == true and v2On or v2Off
|
||||
end
|
||||
local cfg = ConfigTable.GetData("StoryLine", nLineId)
|
||||
local sRemovedMain = string.gsub(cfg.TitleMain, "\n", "")
|
||||
|
||||
Reference in New Issue
Block a user