Skip to content
Browse files

Fix another sketch masking bug

  • Loading branch information...
koenbok committed Feb 27, 2015
1 parent 22c2e4e commit 7356bf51f4d0bc1dab2eee1a4207289cf1eb0265
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/
@@ -80,7 +80,7 @@ class exports.Importer
# Possible fix for images that have a mask in Sketch
# So if a layer without children has a mask, Sketch imports the full image
# That is whay we then take the image frame over the mask frame again
if superLayer?.clip and info.children.length is 0
if info.children.length is 0 and true in _.pluck(superLayer?.superLayers(), "clip")
layerInfo.frame = info.image.frame
layerInfo.clip = false

0 comments on commit 7356bf5

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