DWilliames / paddy-sketch-plugin

Automated padding, spacing and alignment for your Sketch layers
MIT License
2.17k stars 61 forks source link

Calculating of sizes of masked layers #78

Closed cr33zy closed 6 years ago

cr33zy commented 6 years ago

Hi,

if i mask an image to a shape, the sizes are being calculated based on the image - not the the size of the shape. Even if i group the masked items separately...

Is there a way of ignoring the size of masked images and take the size of the shape as the base for calculating the paddings?

Thanks

DWilliames commented 6 years ago

@3rdrail try add a '-' before the name of the image.

Here's a quick example; Paddy will ignore any layers that have the prefix '-' when calculating sizes... image

Here's how it looks. image

Even though the image is much bigger... image

DWilliames commented 6 years ago

@3rdrail Let me know how you go. But in the mean time; I'll close this off as an issue, as I think this answers your question. 👍