Permalink
Browse files

Setting parent property to fallback

  • Loading branch information...
nvh committed Jan 19, 2018
1 parent 5ae3756 commit 3118f3750f81115005a19146975ae015472cc384
Showing with 1 addition and 0 deletions.
  1. +1 −0 framer/Layer.coffee
View
@@ -58,6 +58,7 @@ layerProperty = (obj, name, cssProperty, fallback, validator, transformer, optio
elementContainer = @
if cssProperty in @_stylesAppliedToParent
elementContainer = @parent
@_parent._properties[name] = fallback
mainElement = elementContainer._element if includeMainElement or not targetElement
subElement = elementContainer[targetElement] if targetElement?
if name is cssProperty and not LayerStyle[cssProperty]?

0 comments on commit 3118f37

Please sign in to comment.