mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Bring back accidentally removed ctx.beginPath();
This commit is contained in:
parent
846c806034
commit
6896535663
1 changed files with 2 additions and 0 deletions
|
@ -183,6 +183,8 @@ var Shape = Item.extend(/** @lends Shape# */{
|
|||
var type = this._type,
|
||||
radius = this._radius,
|
||||
isCircle = type === 'circle';
|
||||
if (!param.dontStart)
|
||||
ctx.beginPath();
|
||||
if (untransformed && isCircle) {
|
||||
ctx.arc(0, 0, radius, 0, Math.PI * 2, true);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue