marcisme / sketch-preview

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

Does not scale to explicit size #22

Closed rib3ye closed 9 years ago

rib3ye commented 9 years ago

Changing the "Scale to explicit size" setting plugin always exports as the same size.

I'm using Skala Preview 2 (205), and Skala View 1.8 on an iPhone 5s.

marcisme commented 9 years ago

Thanks for reporting this issue.

Are you using Artboards? What are the dimensions of the Artboard in question? What are the dimensions of the exported preview image? Please also check the Enable debug logging option and paste the output from Console.app here.

rib3ye commented 9 years ago

Yes, tried using artboards and without. Also tried on a Nexus 6 and got same result. The copied items were from the iOS (iOS UI Design) and Android (Material Design) templates that ship with Sketch. Also, I was unable to find the Enable debug logging option. Artboards were around 360 x 640.

marcisme commented 9 years ago

If Enable debug logging isn't there, you probably have an old version of the plugin installed. I'd clean out any old versions from the plugin directory and install the latest version.

What was the size reported by Skala Preview in its main window? There should be dimensions right below the image. I'm wondering if they're exactly the same as the Artboard (most likely) or something else.

marcisme commented 9 years ago

I still can't reproduce this, so I'm going to close this issue. Please re-open it if you'd like further assistance.