bomberstudios / sketch-framer

A Sketch plugin to easily export your mockups to FramerJS
Other
767 stars 67 forks source link

Masking a group with groups that also contain masks themselves #90

Closed benjamindenboer closed 9 years ago

benjamindenboer commented 9 years ago

Download .sketch file for Sketch Beta 3.3:

https://www.dropbox.com/s/uxavtqhsde5qefq/Scrollable%20SB.zip?dl=0

Framer file:

(or Import new and add "bg.content.scroll = true") https://www.dropbox.com/s/bh2p8vlj2wa5wi3/Scrollable.framer.zip?dl=0

Here, all 4 img groups have a mask with fill and an image. All of the img layer groups are within the content layer group folder and it has a mask called "contentBackground", made to allow all images to become scrollable.

hierarchy

On Sketch 3.3 with Framer fixes, this still breaks the sizes/masking of the last two images.

masking

Only img1 and img2 are imported correctly and are displayed at 688 x 448 px.

benjamindenboer commented 9 years ago

Fixed in latest Framer, always looks for parent layers.