Skip to content

Fixed position in image transformations#182

Open
scottbaggett wants to merge 1 commit into
markhuot:masterfrom
Superformula:master
Open

Fixed position in image transformations#182
scottbaggett wants to merge 1 commit into
markhuot:masterfrom
Superformula:master

Conversation

@scottbaggett

Copy link
Copy Markdown

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.

@markhuot

Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants