Skip to content

Commit

Permalink
add styles when a layer is copied
Browse files Browse the repository at this point in the history
  • Loading branch information
J.P.P Treub committed Oct 27, 2015
1 parent f749b23 commit b1b3b23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion framer/Layer.coffee
Expand Up @@ -507,7 +507,10 @@ class exports.Layer extends BaseClass


layer layer


copySingle: -> new @constructor(@props) copySingle: ->
copy = new @constructor(@props)
copy.style = @style
return copy


############################################################## ##############################################################
## IMAGE ## IMAGE
Expand Down

0 comments on commit b1b3b23

Please sign in to comment.