Commit 444830b3 by doszhang

dos

parent d73b53cb
......@@ -825,7 +825,7 @@ CanvasRenderingContext2D.prototype.sector = function (x, y, r, angle1, angle2) {
this.save();
this.beginPath();
this.moveTo(x, y);
this.arc(x, y, r, angle1 * Math.PI, angle2 * Math.PI / 180, false);
this.arc(x, y, r, angle1 * Math.PI, angle2 * Math.PI, false);
this.closePath();
this.restore();
return this;
......
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