七天乐进度显示
This commit is contained in:
parent
944dfd1b5f
commit
280d6d2c07
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user