markhorgan/click-thru-prototype

Problems to export on computer retina.

Opened this issue · 1 comments

I love this plugin for without simple, practical and very functional for small presentations of models.

With the recent acquisition of a retina computer (iMac, Retina 5k 27 ", 2017) when exporting the project with the plugin, only the artboard width is exported @ 1x and it does not export @ 2x, I already checked and I have the option of @ 2x enabled in the plugin menu and does nothing, would it be possible to update this plugin?

Thank you and continuation of an excellent job.

IS

In the exporter.js file there is line in the constructor:
this.retinaImages = Utils.valueForKeyOnDocument(Constants.RETINA_IMAGES, context, 1) === 1;
}

change the comparison of the object to just comparison of values. Basically change the "===" to "==".

this.retinaImages = Utils.valueForKeyOnDocument(Constants.RETINA_IMAGES, context, 1) == 1;
}