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

Reading Dimensions of Text Resets Resolution on Text in Phaser 2.3.0 #1717

Closed
joelika opened this issue Apr 3, 2015 · 1 comment
Closed

Comments

@joelika
Copy link

joelika commented Apr 3, 2015

If the resolution config option is set for Phaser, reading the dimensions of text will cause Phaser to re-render the text with a resolution of 1 instead of the set value.

See the jsfiddle for examples on a device with window.devicePixelRatio greater than 1.

https://jsfiddle.net/dbw3jbdz/

@photonstorm
Copy link
Collaborator

This is now fixed in dev.

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

No branches or pull requests

2 participants