Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Image padding not working consistently #18

Open
cfloisand opened this issue Dec 13, 2016 · 0 comments
Open

Image padding not working consistently #18

cfloisand opened this issue Dec 13, 2016 · 0 comments

Comments

@cfloisand
Copy link

Padding an image does not work correctly if specifying a subset of options from left, right, top, bottom.

e.g.
image.pad({left: 20, top: 20, color: "#F00"});
results in:
lefttoppad

image.pad({top: 20, color: "#F00"});
results in:
toppad

image.pad({right: 20, bottom: 20, color: "#F00"});
results in:
rightbottoompad

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant