Update - 1.13.2.128

EN: 1.13.2.128
CN: 1.13.2.128
JP: 1.13.2.132
KR: 1.13.2.134
This commit is contained in:
SL1900
2026-08-11 12:00:00 +09:00
parent 6797a3ff42
commit fd7efe05c2
248 changed files with 1708808 additions and 679 deletions
+7 -3
View File
@@ -534,7 +534,6 @@ function ChapterLineCtrl:CheckLineReasonable(grid)
local goLeftBorder = grid:Find("goLeftBorder")
local uiCamera = GameCameraStackManager.Instance.uiCamera
if grid.gameObject.activeInHierarchy == false then
return
end
if self.tbShortenedLines == nil then
self.tbShortenedLines = {}
@@ -563,6 +562,10 @@ function ChapterLineCtrl:CheckLineReasonable(grid)
local lineWidthScreen = lineRect.sizeDelta.x
local newSizeDelta = screenDist
if not (math.abs(screenDist - lineWidthScreen) <= 18) then
if 1 > lineRect.pivot.x then
lineRect.pivot = Vector2(1, 0.5)
lineRect.anchoredPosition = Vector2(0, 0)
end
if screenDist > lineWidthScreen then
lineRect.sizeDelta = Vector2(newSizeDelta, lineRect.sizeDelta.y)
elseif screenDist < lineWidthScreen then
@@ -1060,8 +1063,9 @@ function ChapterLineCtrl:CacheChapterBranchNode()
end
function ChapterLineCtrl:IsAllStoryCompleted()
for k, v in ipairs(self.tbGridList) do
if self.maxStoryDepth == v.depth and self.curChosenStory == v.grid.name then
local avgId = v.grid.name
local avgId = v.grid.name
local cfg = AvgData:GetStoryCfgData(avgId)
if cfg.IsLast and self.curChosenStory == v.grid.name then
local nStoryId = AvgData.CFG_Story[avgId]
return AvgData:IsStoryReaded(nStoryId)
end