-
Notifications
You must be signed in to change notification settings - Fork 51
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
updateTransform breaks world scaling if scaled down #100
Labels
Comments
My suggested fix for this is only applying the inversion of the scaling when the world transform was actually updated. The transform of the DisplayObject contains an ID that is counted up whenever the world transform was recalculated. In Pixi v4 they changed when transforms are recalculated (only when the object was changed since the last calculation) |
It would be cleaner if we could avoid that inversion alltogether |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
updateTransform (gown.js:7081) for GOWN.Control with resizeScaling set to true if scaled down scaleX and scaleY are always not 1, thus the resizeScaling gets applied every time until worldTransform.a and worldTransform.d are Infinity.
The text was updated successfully, but these errors were encountered: