Commit 1bd5eb9c by doszhang

dos

parent d42b65a7
...@@ -460,7 +460,7 @@ function countDown(callback) { ...@@ -460,7 +460,7 @@ function countDown(callback) {
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, 0, angle).fill();
if (angle >= 0) { if (angle <= 0) {
countdown--; countdown--;
if (countdown == 0) { if (countdown == 0) {
clearInterval(timer); 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