mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Move ctx.restore() to same level as ctx.save(). Closes #51.
This commit is contained in:
parent
b51c1286da
commit
571ca31dbf
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue