fix var name
Co-authored-by: timvisee <tim@visee.me>
This commit is contained in:
parent
e5f76a7b1f
commit
8d80ba1f69
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ module.exports.updateFavicon = function(percentageString) {
|
||||||
context.translate(size * 0.5, size * 0.5);
|
context.translate(size * 0.5, size * 0.5);
|
||||||
|
|
||||||
const drawCircle = function(color, lineWidth, outerWidth, percent) {
|
const drawCircle = function(color, lineWidth, outerWidth, percent) {
|
||||||
const radius = (outerWidth - loaderWidth) * 0.5;
|
const radius = (outerWidth - lineWidth) * 0.5;
|
||||||
context.beginPath();
|
context.beginPath();
|
||||||
context.arc(0, 0, radius, 0, Math.PI * 2 * percent, false);
|
context.arc(0, 0, radius, 0, Math.PI * 2 * percent, false);
|
||||||
context.strokeStyle = color;
|
context.strokeStyle = color;
|
||||||
|
|
Loading…
Reference in a new issue