sketch-android-assets
sketch-android-assets copied to clipboard
Generated slices are not transparent
In Sketch 3 when exporting through the plugin the background of the slices are not transparent. On the contrary, when exporting through the native Sketch feature (File > Export) the slices do have a transparent background...
How can I export against a transparent background?
PS: Please also tell people they need to select the slices before running the plugin.
Same here, can't get transparent export. Export Group Contents Only - option does nothing. So even if slice and graphic are in same group I always get background color/graphic/photo exported.
Any fix to this? Having this issue as well.
Does it help hiding the background layer before exporting?
^^Turning off the BG for the artboard allows transparent exports^^
Yes it works when you turn the background off, but hey it shouldn't be like this since it's very uncomfortable, except before exporting all assets you make an empty artboard just for them and place on it to generate, then it's ok :)
But the tool is great! Thank you.
I'm pretty new to Sketch, how do you turn off the background?
EDIT Got it, select layer and uncheck Background Color in the properties on the right hand side.
EDIT 2: There is also a checkbox below that, Include in Export. Unchecking that solves the problem of this issue for me. Seems to be ignored with the official export function but is honoured by this plug-in.
Click on the artboard name (either in the canvas view or side panel), and on the right side panel, you'll see a checkbox option for "Background." Uncheck the box, run the plugin, recheck the box (optional).
On Sun, Mar 15, 2015 at 6:52 AM, maartenvandillen [email protected] wrote:
I'm pretty new to Sketch, how do you turn off the background?
— Reply to this email directly or view it on GitHub https://github.com/zmalltalker/sketch-android-assets/issues/16#issuecomment-80956649 .
Hinge 137 5th Avenue, 5th Floor New York, NY 240.357.0269
I got the same problem with another bigger layer bellow, not just background.
I'm having this same issue. Really annoying. Thanks for taking a look :)
i got the solution, unthick "include in Export"
Assuming this probably isn't going to get addressed by this plugin, but I also ran into this problem.
I also have this issue
same issue.
Having same issue
I just have the same issue and after read :
https://github.com/abynim/Sketch-Headers/blob/master/Headers/MSExportRequest.h
I open the .jtalk file by textEditor and add a code line:
request.includeArtboardBackground = false;
in function
copy_layer_with_factor
before the return
line:
Are you using a Sketch template? Like the iOS UI template?
On the Symbols page, Sketch has put a rectangle behind and around all the artboards. If you have a transparent symbol on top of this, it (for some reason) exports the rectangle with it. Disable/delete the rectangle and you can export!