mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Use a default precision of three digits for exporting path data.
This commit is contained in:
parent
ae14cedc7f
commit
1bfafee0ca
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
|
|||
var segments = this._segments,
|
||||
style = this._style,
|
||||
format = Format.point,
|
||||
precision = arguments[0],
|
||||
precision = arguments[0] || 3,
|
||||
parts = [];
|
||||
|
||||
// TODO: Add support for H/V and/or relative commands, where appropriate
|
||||
|
|
Loading…
Reference in a new issue