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

fixed error with font-size in view.js:renderText() #212

Merged
merged 1 commit into from
Feb 8, 2022

Conversation

Rb64
Copy link
Contributor

@Rb64 Rb64 commented Jan 26, 2022

Fixed the bug that was mentioned in Issues #182 #162 #189 The problem was that fontSize *= settings.scale was concatenated with "20px Exo" which would result in an very large fontSize. This bug would only appear if the scaled fontSize happened to result in a full integer since concatenating a float with "20px Exo" would only extend the digits after the decimal point.

@lengstrom lengstrom merged commit 27d3d49 into Hextris:gh-pages Feb 8, 2022
@lengstrom
Copy link
Member

thank you!

@Rb64
Copy link
Contributor Author

Rb64 commented Feb 9, 2022

no problem!

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