-
Notifications
You must be signed in to change notification settings - Fork 822
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
TextField change autoSize bug in Starling 2.0 #820
Labels
Comments
A very good find, thanks a lot! I fixed that right away. 😄 |
Oops... This is not enough :-) What about reset position only in one dimension? |
Oh my, yes, I see what you mean. Ooops! 😉 |
PrimaryFeather
added a commit
that referenced
this issue
Mar 25, 2016
This time, it's just always reset to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Daniel, again!
I continue my code diving into amazing Starling 2.0 text engine code, and find interesting bug:
Values of
_meshBatch.x / _meshBatch.y
is changed withinupdateText()
method, if used auto sizing.But if text field doesn't use auto size
_meshBatch
position doesn't reset to zero.You can catch missing text with next code:
After one second - you gain empty text filed, because
_meshBatch
has bad positionThe text was updated successfully, but these errors were encountered: