sketchplugins / plugin-requests

A collection of plugins requested to our Twitter account
https://twitter.com/sketch
MIT License
211 stars 64 forks source link

Export Current Page Artboards to PDF plugin exports in wrong order #5

Closed pkvdesigns closed 9 years ago

pkvdesigns commented 9 years ago

I just found your plugin to export the artboards in current page to PDF and find it really usefull. However it exports the pages in the order or the layerlist, from top to bottom. This is opposite to the way the artboards work in Sketch, if you duplicate an artboard it places it above the current artboard.

Long story short, can you make the plugin so that it exports the artboards in reverse order of the layerlist (the right way ;) )

Thanks in advance!

bomberstudios commented 9 years ago

This is actually how Sketch does it natively, I'm just limiting the amount of data that is sent to the export function. Reversing the order in the PDF export is something we'll have to change in Sketch itself (it's already reported, and we'll fix it in a future version)