Bring back accidentally removed ctx.beginPath();

This commit is contained in:
Jürg Lehni 2014-05-13 13:51:09 +02:00
parent 846c806034
commit 6896535663

View file

@ -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 {