bomberstudios / sketch-framer

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

Workaround for writeBitmapImageToFile #3

Closed cemre closed 11 years ago

cemre commented 11 years ago

Exports elements by copying each of them off-screen, and uses saveArtboardOrSlice instead. This fixes #2.

There's also a change that fixes #1.

bomberstudios commented 11 years ago

Also: when running the command on a file with a single Artboard containing a single layer, I get an infinite loop (see attachment) and Sketch crashes.

screenshot 2013-09-12 16 02 11

I'm not sure if it's a bug in the command's logic, or a problem on the Sketch side. If it's the latter, I can take a look if you want.

cemre commented 11 years ago

Whoops, it's probably me. I'll look into it.

bomberstudios commented 11 years ago

Looks fine! Merging! :D