Jump to content

Text bounds bug with high resolution


mcolman
 Share

Recommended Posts

Hi, I think I have found a bug with Text bounds on high res screens.

Please see this code pen, it's just a modified example from the Phaser website to include devicePixelRatio resolution.

This means that the example will work fine on screens with window.devicePixelRatio == 1, but will incorrectly center and right justify the text on higher pixel densities.

http://codepen.io/mattcolman/pen/BKmQMZ/

Please confirm this is a bug and I will add to github issues.

Cheers! 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...