diff options
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js index 0d00cab..8703cf9 100644 --- a/index.js +++ b/index.js @@ -23,7 +23,7 @@ class ATBBar { ctx.save() ctx.beginPath() - ctx.rect(0, 0, this.canvas.width * this.progress, this.canvas.height) + ctx.rect(0, 0, Math.round(this.canvas.width * this.progress), this.canvas.height) ctx.clip() ctx.fillStyle = '#77F' |