Skip to content

Commit

Permalink
Version 3.2.0-beta4
Browse files Browse the repository at this point in the history
Piecon is only refreshed when the percentage changes
  • Loading branch information
chrishamm committed Nov 26, 2020
1 parent 2551da1 commit b4a82b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.vue
Expand Up @@ -271,8 +271,8 @@ export default {
}
},
name() { this.updateTitle(); },
jobProgress(to) {
if (isPrinting(this.status)) {
jobProgress(to, from) {
if (isPrinting(this.status) && Math.round(to * 100) !== Math.round(from * 100)) {
Piecon.setProgress(to * 100);
}
this.updateTitle();
Expand Down

0 comments on commit b4a82b1

Please sign in to comment.