mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 06:30:53 +03:00
made variable name more relevant
Co-authored-by: timvisee <tim@visee.me>
This commit is contained in:
@@ -37,12 +37,12 @@ module.exports.updateFavicon = function(percentageString) {
|
|||||||
context.stroke();
|
context.stroke();
|
||||||
};
|
};
|
||||||
|
|
||||||
const drawNewGraph = function() {
|
const drawNewFavicon = function() {
|
||||||
drawCircle('#efefef', lineWidth, 100 / 100);
|
drawCircle('#efefef', lineWidth, 100 / 100);
|
||||||
drawCircle(color, lineWidth, percentage / 100);
|
drawCircle(color, lineWidth, percentage / 100);
|
||||||
};
|
};
|
||||||
|
|
||||||
drawNewGraph(link);
|
drawNewFavicon(link);
|
||||||
link.href = canvas.toDataURL();
|
link.href = canvas.toDataURL();
|
||||||
document.getElementsByTagName('head')[0].appendChild(link);
|
document.getElementsByTagName('head')[0].appendChild(link);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user