fix var name

Co-authored-by: timvisee <tim@visee.me>
This commit is contained in:
Ashesh Vidyut 2019-03-21 01:27:17 +05:30 committed by timvisee
parent e5f76a7b1f
commit 8d80ba1f69
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ module.exports.updateFavicon = function(percentageString) {
context.translate(size * 0.5, size * 0.5);
const drawCircle = function(color, lineWidth, outerWidth, percent) {
const radius = (outerWidth - loaderWidth) * 0.5;
const radius = (outerWidth - lineWidth) * 0.5;
context.beginPath();
context.arc(0, 0, radius, 0, Math.PI * 2 * percent, false);
context.strokeStyle = color;