fix(core): Do no round point coordinates
This commit is contained in:
parent
550fdb22cb
commit
8924f2d40b
3 changed files with 5 additions and 10 deletions
|
@ -7,8 +7,7 @@ import {
|
|||
curvesIntersect,
|
||||
pointOnLine,
|
||||
pointOnCurve,
|
||||
curveEdge,
|
||||
round
|
||||
curveEdge
|
||||
} from './utils'
|
||||
|
||||
function Path(debug = false) {
|
||||
|
@ -207,7 +206,7 @@ Path.prototype.length = function () {
|
|||
if (op.to) current = op.to
|
||||
}
|
||||
|
||||
return round(length)
|
||||
return length
|
||||
}
|
||||
|
||||
/** Returns the startpoint of the path */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue