marcisme / sketch-preview

Sketch plugin to preview mockups in Skala Preview
MIT License
611 stars 37 forks source link

Feature request: Ability to preview at different scales #10

Closed chrsmrtn closed 10 years ago

chrsmrtn commented 10 years ago

I'm working at MDPI (1x) so when I use this plugin to preview on an XXHDPI (3x) screen, it's too small.

Sketch has the ability to export from MDPI to XXHDPI (3x), so what I do now is export an image at 3x. A folder action picks up the exported image and loads it in Skala Preview. This works pretty well but would love the ability to hit CMD+P in Sketch and have the plugin export at 3x before sending to Skala Preview.

marcisme commented 10 years ago

I spent some time digging around this evening, and I have a few ideas, but I'm still not sure how this would work. Assuming I can figure it out, I have a few questions. I'll use size to mean the 1x, 3x etc to be consistent with the Sketch UI.

marcisme commented 10 years ago

@chrsmrtn Can you check out the set-preview-size branch, and let me know what you think?

chrsmrtn commented 10 years ago

Hey @marcisme, sorry I meant to reply this morning. I've just tested set-preview-size and that's perfect! I think setting globally was the best option, this way I can hit CMD+P and it appears instantly in Skala Preview (if i've set the wrong size I can always go back and adjust the global setting).

Thanks for your great work!

marcisme commented 10 years ago

Great. Thanks for the feedback. I'll try to get the changes cleaned up and released this coming weekend.