Skip to content

Commit

Permalink
Avoid double refresh when stopping progressbar infinite
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed May 22, 2024
1 parent 30bd2a0 commit b685b73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions widget/progressbarinfinite.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func (p *infProgressRenderer) Refresh() {
return // we refresh from the goroutine
} else if p.wasRunning {
p.stop()
return
}

th := p.progress.Theme()
Expand Down

0 comments on commit b685b73

Please sign in to comment.