DWilliames / paddy-sketch-plugin

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

[Bug] Padding set to zero when using invalid value #42

Closed wouterramaker closed 6 years ago

wouterramaker commented 6 years ago

Currently when the value for the padding is invalid (for example [A10]), the plugin sets it to 0 and grows the element to it's parents size.

The preferred action would be to ignore it.

DWilliames commented 6 years ago

Thank for this @wouterramaker! I'll try and get this into the next release. 👍

DWilliames commented 6 years ago

I just pushed a release (v1.0.4) that should now fix this. 👍

I will close this issue for now, assuming that the fix is stable — if you find that it hasn't been fixed, then please re-open this issue.

Cheers!