Commit 774173bb by doszhang

dos

parent 18cf60f0
......@@ -324,6 +324,8 @@ function countDown() {
timer = setInterval(function () {
angle = ((angle * 10) - 36) / 10;
countDownCtx.sector(countDownCanvas.width / 2, countDownCanvas.height / 2, countDownCanvas.width / 2, 0, angle).fill();
console.log(angle);
if (angle <= 0) {
clearInterval(timer);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment