Move ctx.restore() to same level as ctx.save(). Closes #51.

This commit is contained in:
Jürg Lehni 2011-09-18 10:56:04 +02:00
parent b51c1286da
commit 571ca31dbf

View file

@ -1313,8 +1313,8 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
ctx.rect(point._x - 1, point._y - 1, 2, 2);
ctx.fillStyle = '#ffffff';
ctx.fill();
ctx.restore();
}
ctx.restore();
}
}