Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed position in image transformations #182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

scottbaggett
Copy link

I noticed that the position value for the image transformation was not being respected. I made the updates to match the documented examples and now images are bring cropped correctly.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@markhuot
Copy link
Owner

Hrm, I thought only the keys were used in this enum. I left the values as human-readable text to be displayed in the GraphiQL UI. Let me test this out locally before getting it merged. Thanks!

@scottbaggett
Copy link
Author

No worries. I wasn't sure so I dug around a bit and made the change locally and tested. I noticed pretty quickly that even with topLeft it was being cropped center center, so the position value wasn't being taken into account at all.

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

Successfully merging this pull request may close these issues.

None yet

2 participants