Skip to content

Commit

Permalink
Update the extended progressbar on refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Jul 26, 2020
1 parent 65afdd3 commit 6c04343
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion widget/progressbar.go
Expand Up @@ -65,7 +65,7 @@ func (p *progressRenderer) Refresh() {
p.applyTheme()
p.updateBar()

canvas.Refresh(p.progress)
canvas.Refresh(p.progress.super())
}

// ProgressBar widget creates a horizontal panel that indicates progress
Expand Down
2 changes: 1 addition & 1 deletion widget/progressbarinfinite.go
Expand Up @@ -92,7 +92,7 @@ func (p *infProgressRenderer) doRefresh() {
p.bar.FillColor = theme.PrimaryColor()

p.updateBar()
canvas.Refresh(p.progress)
canvas.Refresh(p.progress.super())
}

func (p *infProgressRenderer) isRunning() bool {
Expand Down

0 comments on commit 6c04343

Please sign in to comment.