mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-15 01:09:53 -04:00
Use same precision in Path#getPathData() as everywhere else.
This commit is contained in:
parent
3613086a64
commit
3f634f6420
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,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] || 3,
|
precision = arguments[0],
|
||||||
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