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

fix font atlas text width bug #519

Merged
merged 1 commit into from
Sep 19, 2020
Merged

fix font atlas text width bug #519

merged 1 commit into from
Sep 19, 2020

Conversation

cart
Copy link
Member

@cart cart commented Sep 19, 2020

Fixes #517

This really fixes two bugs:

  1. computed text width being set to zero due to width being updated in the wrong place
  2. handling the case where text changes, but the font asset hasnt finished loading yet

@cart cart merged commit 57a52e6 into bevyengine:master Sep 19, 2020
mrk-its pushed a commit to mrk-its/bevy that referenced this pull request Oct 6, 2020
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.

Latest font atlas fix breaks text when it changes
1 participant