Closed Leavrth closed 3 years ago
It seems that this bar cannot trigger complete by Increment() function, after run bar.SetTotal(total, false).
Increment()
bar.SetTotal(total, false)
Why not let it runs as before instead of forceRefreshIfLastUncompleted, when current < total after do bar.SetTotal(total, true).
forceRefreshIfLastUncompleted
current < total
bar.SetTotal(total, true)
It's by design. If bar.SetTotal(total, false) has been called, triggering complete is disabled until bar.SetTotal(total, true) is called.
It seems that this bar cannot trigger complete by
Increment()
function, after runbar.SetTotal(total, false)
.Why not let it runs as before instead of
forceRefreshIfLastUncompleted
, whencurrent < total
after dobar.SetTotal(total, true)
.