mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Use arc() instead of rect() to draw handles.
This commit is contained in:
parent
14549a383b
commit
1279e820aa
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue