七天乐进度显示

This commit is contained in:
chenxi 2023-05-26 17:33:29 +08:00
parent 944dfd1b5f
commit 280d6d2c07

View File

@ -144,7 +144,7 @@ function SevenDayUI:refreshStepInfo()
local count = DataManager.SevenDayData:getCollectedCount()
local totalCount = DataManager.SevenDayData:getTotalCount()
self.sevenDayDesc:setText(I18N:getGlobalText(I18N.GlobalConst.SEVEN_DAY_DESC_2, count, totalCount))
self.sevenDaySliderComp.value = count / totalCount
self.sevenDaySliderComp.value = count / DataManager.SevenDayData:getStepNum(#self.stepObjs)
end
function SevenDayUI:refreshScrollRect()