Skip to content

Commit

Permalink
Setting parent property to fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
nvh committed Jan 19, 2018
1 parent 5ae3756 commit 3118f37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framer/Layer.coffee
Expand Up @@ -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]?
Expand Down

0 comments on commit 3118f37

Please sign in to comment.