Skip to content
Permalink
Browse files

Not cloning context.layers

  • Loading branch information
nvh committed Sep 5, 2017
1 parent ac2d0b2 commit d0a2b52632f08a38455e87573c12913e33dfb24e
Showing with 2 additions and 2 deletions.
  1. +2 −2 framer/Layer.coffee
@@ -1276,7 +1276,7 @@ class exports.Layer extends BaseClass

bringToFront: ->
maxIndex = null
siblings = @parent?.children ? @context.layers
siblings = @parent?.children ? @context._layers
return if siblings.count <= 1
for layer in siblings
continue if layer is @
@@ -1288,7 +1288,7 @@ class exports.Layer extends BaseClass

sendToBack: ->
minIndex = null
siblings = @parent?.children ? @context.layers
siblings = @parent?.children ? @context._layers
return if siblings.count <= 1
for layer in siblings
continue if layer is @

0 comments on commit d0a2b52

Please sign in to comment.
You can’t perform that action at this time.