Permalink
Browse files

Fix formatting

  • Loading branch information...
nvh committed Sep 5, 2017
1 parent 242f61d commit 7994d36430585507d81c08bf51741b9bb794a003
Showing with 2 additions and 3 deletions.
  1. +2 −3 framer/Layer.coffee
View
@@ -58,9 +58,8 @@ layerProperty = (obj, name, cssProperty, fallback, validator, transformer, optio
if name is cssProperty and not LayerStyle[cssProperty]?
mainElement?.style[cssProperty] = @_properties[name]
subElement?.style[cssProperty] = @_properties[name]
else if not @__applyingDefaults
# These values are set multiple times during applyDefaults, so ignore them here, and set the style in the constructor
or (cssProperty not in ["webkitTransform", "webkitFilter", "webkitPerspectiveOrigin", "webkitTransformOrigin"])
# These values are set multiple times during applyDefaults, so ignore them here, and set the style in the constructor
else if not @__applyingDefaults or (cssProperty not in ["webkitTransform", "webkitFilter", "webkitPerspectiveOrigin", "webkitTransformOrigin"])
style = LayerStyle[cssProperty](@)
mainElement?.style[cssProperty] = style
subElement?.style[cssProperty] = style

0 comments on commit 7994d36

Please sign in to comment.