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

setFont fix (also fixes #4141) #4183

Merged
merged 2 commits into from
Dec 12, 2018
Merged

Conversation

DottieDot
Copy link
Contributor

This PR (delete as applicable)

  • Fixes a bug

Describe the changes below:

When entering a font string in setFont, fontFamily would hold all the data (which isn't an issue when drawing the text because the font properties get merged into 1 string anyways), this is something I noticed when I checked if my previous PR (#4101) fixed #4141 (which it did if it weren't for that mistake).

@photonstorm photonstorm merged commit 7ea0316 into phaserjs:master Dec 12, 2018
@photonstorm
Copy link
Collaborator

Thanks for the update!

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.

toJSON() on Text doesn't save the font style when using the "font" shorthand
2 participants