Commit 50a66d53 by doszhang

dos

parent 5ff1574d
......@@ -105,7 +105,7 @@
var mouseX = evt.pageX - coverPos.left - pageScrollLeft;
var mouseY = evt.pageY - coverPos.top - pageScrollTop;
defineX = mouseX;
defineX = mouseY;
defineY = mouseY;
var that = this;
if(!timerStatus)
......@@ -114,7 +114,7 @@
that.ctx.beginPath();
that.ctx.fillStyle = '#FFFFFF';
that.ctx.globalCompositeOperation = "destination-out";
that.ctx.arc(defineX, defineX, 10, 0, 2 * Math.PI);
that.ctx.arc(defineX, defineY, 10, 0, 2 * Math.PI);
that.ctx.fill();
},1);
}
......
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