Use same precision in Path#getPathData() as everywhere else.

This commit is contained in:
Jürg Lehni 2013-03-19 16:23:36 -07:00
parent 3613086a64
commit 3f634f6420

View file

@ -206,7 +206,7 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
var segments = this._segments,
style = this._style,
format = Format.point,
precision = arguments[0] || 3,
precision = arguments[0],
parts = [];
// TODO: Add support for H/V and/or relative commands, where appropriate