1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-13 22:54:15 +01:00

made variable name more relevant

Co-authored-by: timvisee <tim@visee.me>
This commit is contained in:
Ashesh Vidyut 2019-03-21 00:12:12 +05:30 committed by timvisee
parent 0460bd2e97
commit 1cd4adfc2a
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172

View File

@ -37,12 +37,12 @@ module.exports.updateFavicon = function(percentageString) {
context.stroke();
};
const drawNewGraph = function() {
const drawNewFavicon = function() {
drawCircle('#efefef', lineWidth, 100 / 100);
drawCircle(color, lineWidth, percentage / 100);
};
drawNewGraph(link);
drawNewFavicon(link);
link.href = canvas.toDataURL();
document.getElementsByTagName('head')[0].appendChild(link);
}