进度条修改提交

(cherry picked from commit 592845bf98)
dev_chengFeng
jiaoyangna 2021-09-28 17:41:21 +08:00
parent d7dc0425cb
commit b6a9cbc1c1
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ function LingLongBaoJingPanel:CalculateInterval(count)
elseif count >= configs[1].Values[1][1] then
interval = position[1]/position[#position] + ((count - configs[1].Values[1][1]) * (position[2] - position[1]) / (configs[2].Values[1][1] - configs[1].Values[1][1]))/position[#position]
else
interval = count / configs[1].Values[1][1]
interval = 0 + ((count ) * (position[1] - 0) / (configs[1].Values[1][1] - 0))/position[#position]
end
return interval
end