Commit c71ea918 by doszhang

dos

parent b8212657
...@@ -323,7 +323,7 @@ function countDown() { ...@@ -323,7 +323,7 @@ function countDown() {
countDownCtx.fillStyle = '#0f0'; countDownCtx.fillStyle = '#0f0';
timer = setInterval(function () { timer = setInterval(function () {
angle = ((angle * 10) - 36) / 10; angle = ((angle * 10) - 36) / 10;
countDownCtx.sector(countDownCanvas.width / 2, countDownCanvas.height / 2, countDownCanvas.width / 2, 0, angle).fill(); countDownCtx.sector(countDownCanvas.width / 2, countDownCanvas.height / 2, countDownCanvas.width / 2, 90, angle).fill();
console.log(angle); console.log(angle);
if (angle <= 0) { if (angle <= 0) {
......
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