mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -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,
|
var segments = this._segments,
|
||||||
style = this._style,
|
style = this._style,
|
||||||
format = Format.point,
|
format = Format.point,
|
||||||
precision = arguments[0],
|
precision = arguments[0] || 3,
|
||||||
parts = [];
|
parts = [];
|
||||||
|
|
||||||
// TODO: Add support for H/V and/or relative commands, where appropriate
|
// TODO: Add support for H/V and/or relative commands, where appropriate
|
||||||
|
|
Loading…
Reference in a new issue