Open niittymaa opened 8 years ago
Looks like they now define the export scaling options when exporting pages or artboards
function onExportArtboards(context) {
var sketch = context.api()
var options = { "scales" : "1, 2, 3", "formats" : "png, jpg" }
sketch.selectedDocument.selectedPage.exportArtboards(options)
};
...I guess you would have to amend how you export things to achieve this.
see http://developer.sketchapp.com/examples/plugins/exporting/
Thanks @alpower for pointing this one!
No problem! A lot of people use things like InvisionApp at 2X for prototyping on retina screens, so being able to export at 2X sure would be handy, for doing things like GIFs for more complex transitions.
...Love the tool so far otherwise - really great!
It seems that scaling in export dialog is broken after Sketch 41 update.
Problem was caused MSExportRequest command and I guess it's changed in Sketch 41 API.
I disabled it for fast fix for 41+ versions until I found how it works now. Anyone have idea how it should be now?