Skip to content
Browse files

Fix Frame bug for Photoshop imports

  • Loading branch information
koenbok committed Apr 3, 2015
1 parent a5e1a1a commit 6dda6c606bf68a13b4f6e43b7e2b8126fe05bec8
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/
@@ -105,7 +105,7 @@ class exports.Importer

# A layer without an image, mask or sublayers should be zero
if not layer.image and not info.children.length and not info.maskFrame
layer.frame = new Frame
layer.frame = Utils.zeroFrame()

_.clone(info.children).reverse().map (info) => @_createLayer info, layer

1 comment on commit 6dda6c6


This comment has been minimized.

Copy link

@skabbit skabbit commented on 6dda6c6 Apr 6, 2015

I'm getting now error:

TypeError: undefined is not a function (evaluating 'Utils.zeroFrame()')

Utils doesn't seems to have zeroFrame() function.

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