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

Enable origin utilization in transform calculations #107

Conversation

rolandoislas
Copy link

Backwards compatible. Defaults to false and uses (0,0) as origin.

@azakhary
Copy link
Contributor

Could you elaborate a bit more on what issue this fixes? Or what does this add?

@rolandoislas
Copy link
Author

Currently, when transforming a composite the origin is hard coded to (0,0). The boolean variable added to TransformComponent will now allow the settable origin to be used.

@azakhary
Copy link
Contributor

But if you have to set that default anyway for each component, why not set directly originX originY values instead?

@rolandoislas
Copy link
Author

For backwards compatibility. It's marked as a TODO. Really any implementation that would allow for values other than the hardcoded 0 would be nice.

@alexfacciorusso
Copy link

So guys, why isn't this or #108 accepted and merged?

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.

3 participants