Use arc() instead of rect() to draw handles.

This commit is contained in:
Jürg Lehni 2011-05-05 11:01:20 +01:00
parent 14549a383b
commit 1279e820aa

View file

@ -441,8 +441,8 @@ var Path = this.Path = PathItem.extend({
ctx.lineTo(handleX, handleY);
ctx.stroke();
ctx.beginPath();
ctx.rect(handleX - 1, handleY - 1, 2, 2);
ctx.stroke();
ctx.arc(handleX, handleY, 1.75, 0, Math.PI * 2, true);
ctx.fill();
}
}