mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -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,
|
var type = this._type,
|
||||||
radius = this._radius,
|
radius = this._radius,
|
||||||
isCircle = type === 'circle';
|
isCircle = type === 'circle';
|
||||||
|
if (!param.dontStart)
|
||||||
|
ctx.beginPath();
|
||||||
if (untransformed && isCircle) {
|
if (untransformed && isCircle) {
|
||||||
ctx.arc(0, 0, radius, 0, Math.PI * 2, true);
|
ctx.arc(0, 0, radius, 0, Math.PI * 2, true);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue