Skip to content

Commit

Permalink
Fix progress bar with float progress values
Browse files Browse the repository at this point in the history
  • Loading branch information
flakas committed Dec 26, 2016
1 parent 6ab3ba0 commit bc22a1f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified break-helper.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function updateBreakNotificationTimer() {
message: "You're on a break ($%1s).".replace("$%1s", secondsToClock(breakTimeLeft)),
iconUrl: 'icon128.png',
buttons: [],
progress: progress
progress: Math.round(progress)
});
setTimeout(updateBreakNotificationTimer, 1000);
};
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Break Helper",
"version": "1.6",
"version": "1.6.1",
"description": "Reminds you to take a break, because breaks are good for your health and productivity",
"icons": {
"16": "icon16.png",
Expand Down

0 comments on commit bc22a1f

Please sign in to comment.