Permalink
Browse files

Not converting the Path point through the root context

  • Loading branch information...
nvh committed Feb 20, 2018
1 parent 5cf9935 commit f32dd1f72bb38d3c442d97e92cf53e5bfac3238c
Showing with 2 additions and 2 deletions.
  1. +2 −2 framer/SVGPath.coffee
@@ -136,13 +136,13 @@ class exports.SVGPath extends SVGBaseLayer

start: (relativeToLayer = null) =>
point = @pointAtFraction(0)
point = @convertPointToLayer(point, relativeToLayer?.parent)
point = @convertPointToLayer(point, relativeToLayer?.parent, false)
point.rotation = @rotationAtFraction(0)
return point

end: (relativeToLayer = null) =>
point = @pointAtFraction(0)
point = @convertPointToLayer(point, relativeToLayer?.parent)
point = @convertPointToLayer(point, relativeToLayer?.parent, false)
point.rotation = @rotationAtFraction(1)
return point

0 comments on commit f32dd1f

Please sign in to comment.