Skip to content

Commit 061f171

Browse files
committed
Fix for chrome 52 on paths
1 parent 595f50d commit 061f171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dynamics.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ getCurrentProperties = (el, keys) ->
173173
properties['transform'] = matrix.decompose()
174174
else
175175
v = style[key]
176-
if !v? && svgProperties.contains(key)
176+
if (!v? or key is 'd') && svgProperties.contains(key)
177177
v = el.getAttribute(key)
178178
if v == "" or !v?
179179
v = defaultValueForKey(key)

0 commit comments

Comments
 (0)