mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 23:18:39 +03:00
@@ -31,7 +31,7 @@ module.exports.updateFavicon = function(percentageString) {
|
|||||||
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;
|
||||||
context.lineCap = 'square'; // butt, round or square
|
context.lineCap = 'square';
|
||||||
context.lineWidth = lineWidth;
|
context.lineWidth = lineWidth;
|
||||||
context.stroke();
|
context.stroke();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user