Codebase list golang-github-vbauerster-mpb / 874d764
SetTotal sets completed once Vladimir Bauer 7 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
208208 if total > 0 {
209209 s.total = total
210210 }
211 if final {
211 if final && !s.toComplete {
212212 s.current = s.total
213213 s.toComplete = true
214214 go b.forceRefresh()