Skip to content

Commit

Permalink
Fix for chrome 52 on paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Grafikart committed Aug 11, 2016
1 parent 595f50d commit 061f171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynamics.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ getCurrentProperties = (el, keys) ->
properties['transform'] = matrix.decompose()
else
v = style[key]
if !v? && svgProperties.contains(key)
if (!v? or key is 'd') && svgProperties.contains(key)
v = el.getAttribute(key)
if v == "" or !v?
v = defaultValueForKey(key)
Expand Down

0 comments on commit 061f171

Please sign in to comment.